engine/include/Render/SalmonRender/SalmonRenderGLES20.h

37 lines
666 B
C
Raw Normal View History

2013-01-19 20:02:34 +00:00
#ifndef SALMON_RENDER_GLES20_H_INCLUDED
#define SALMON_RENDER_GLES20_H_INCLUDED
#include "include/Render/SalmonRender/SalmonRenderInterface.h"
#ifdef TARGET_ANDROID
#include <GLES/gl.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#endif
2017-02-26 23:26:42 +00:00
#ifdef TARGET_IOS
//#include <OpenGLES/AEGL.h>
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES1/glext.h>
#include <OpenGLES/ES2/glext.h>
#endif
2013-01-19 20:02:34 +00:00
namespace SE
{
class TSalmonRendererGLES20 : public TSalmonRendererInterface
{
protected:
virtual void DrawQuad(const T2DQuad& quad);
public:
void DrawTriangleList(const TTriangleList& triangleList);
};
} //namespace SE
2017-02-26 23:26:42 +00:00
#endif