engine/include/Render/SalmonRender/SalmonRenderGLES20.h
2017-02-27 02:26:42 +03:00

37 lines
666 B
C++

#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
#ifdef TARGET_IOS
//#include <OpenGLES/AEGL.h>
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES1/glext.h>
#include <OpenGLES/ES2/glext.h>
#endif
namespace SE
{
class TSalmonRendererGLES20 : public TSalmonRendererInterface
{
protected:
virtual void DrawQuad(const T2DQuad& quad);
public:
void DrawTriangleList(const TTriangleList& triangleList);
};
} //namespace SE
#endif