mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Don't even try to build the gl3stub on desktop platforms
This commit is contained in:
1 parent
92cd84e54e
commit
e409b65e85
2 files changed
+7
No files matched your search
@@ -16,6 +16,8 @@
|
||||
|
||||
#include "gl3stub.h"
|
||||
|
||||
#if defined(USING_GLES2)
|
||||
|
||||
GLboolean gl3stubInit() {
|
||||
#define FIND_PROC(s) s = (void*)eglGetProcAddress(#s)
|
||||
FIND_PROC(glReadBuffer);
|
||||
@@ -340,3 +342,5 @@ GL_APICALL void (* GL_APIENTRY glInvalidateSubFramebuffer) (GLenum tar
|
||||
GL_APICALL void (* GL_APIENTRY glTexStorage2D) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
|
||||
GL_APICALL void (* GL_APIENTRY glTexStorage3D) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
|
||||
GL_APICALL void (* GL_APIENTRY glGetInternalformativ) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params);
|
||||
|
||||
#endif
|
||||
@@ -13,6 +13,7 @@
|
||||
* - Added gl3stubInit() declaration
|
||||
*/
|
||||
|
||||
#if defined(USING_GLES2)
|
||||
#include <GLES2/gl2.h>
|
||||
#include <KHR/khrplatform.h>
|
||||
|
||||
@@ -489,4 +490,6 @@ extern GL_APICALL void (* GL_APIENTRY glGetInternalformativ) (GLenum t
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // USING_GLES2
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user