ios changes
This commit is contained in:
1 parent
6b67237804
commit
0bf1c60c9d
18 files changed
+116
-69
No files matched your search
@@ -9,6 +9,13 @@
|
||||
#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
|
||||
{
|
||||
|
||||
@@ -26,4 +33,4 @@ public:
|
||||
|
||||
} //namespace SE
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -9,12 +9,15 @@ namespace SE
|
||||
class TSalmonRendererIos : public TSalmonRendererGLES20
|
||||
{
|
||||
protected:
|
||||
|
||||
GLint defaultFBO;
|
||||
|
||||
public:
|
||||
|
||||
virtual void InitOpenGL(int screenWidth, int screenHeight, float matrixWidth, float matrixHeight);
|
||||
|
||||
virtual void SwitchToScreen();
|
||||
};
|
||||
|
||||
} //namespace SE
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user