Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added glGenFramebuffers() to the function pointer list
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 28, 2012
1 parent 9203459 commit ab2281a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
10 changes: 8 additions & 2 deletions Xcode-iOS/Test/TestiPhoneOS.xcodeproj/project.pbxproj
Expand Up @@ -1712,7 +1712,10 @@
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv7,
armv6,
);
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_OPTIMIZATION_LEVEL = 0;
HEADER_SEARCH_PATHS = ../../include;
Expand All @@ -1727,7 +1730,10 @@
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
ARCHS = (
armv7,
armv6,
);
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
HEADER_SEARCH_PATHS = ../../include;
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
Expand Down
1 change: 1 addition & 0 deletions src/render/opengles/SDL_glesfuncs.h
Expand Up @@ -11,6 +11,7 @@ SDL_PROC(void, glDrawTexiOES, (GLint, GLint, GLint, GLint, GLint))
SDL_PROC(void, glEnable, (GLenum))
SDL_PROC(void, glEnableClientState, (GLenum))
SDL_PROC(void, glFinish, (void))
SDL_PROC(void, glGenFramebuffersOES, (GLsizei, GLuint *))
SDL_PROC(void, glGenTextures, (GLsizei, GLuint *))
SDL_PROC(GLenum, glGetError, (void))
SDL_PROC(void, glGetIntegerv, (GLenum, GLint *))
Expand Down
2 changes: 1 addition & 1 deletion src/render/opengles/SDL_render_gles.c
Expand Up @@ -206,7 +206,7 @@ GLES_GetFBO(GLES_RenderData *data, Uint32 w, Uint32 h)
result = SDL_malloc(sizeof(GLES_FBOList));
result->w = w;
result->h = h;
glGenFramebuffersOES(1, &result->FBO);
data->glGenFramebuffersOES(1, &result->FBO);
result->next = data->framebuffers;
data->framebuffers = result;
}
Expand Down
1 change: 1 addition & 0 deletions src/render/opengles2/SDL_gles2funcs.h
Expand Up @@ -17,6 +17,7 @@ SDL_PROC(void, glDrawArrays, (GLenum, GLint, GLsizei))
SDL_PROC(void, glEnable, (GLenum))
SDL_PROC(void, glEnableVertexAttribArray, (GLuint))
SDL_PROC(void, glFinish, (void))
SDL_PROC(void, glGenFramebuffers, (GLsizei, GLuint *))
SDL_PROC(void, glGenTextures, (GLsizei, GLuint *))
SDL_PROC(void, glGetBooleanv, (GLenum, GLboolean *))
SDL_PROC(const GLubyte *, glGetString, (GLenum))
Expand Down
2 changes: 1 addition & 1 deletion src/render/opengles2/SDL_render_gles2.c
Expand Up @@ -210,7 +210,7 @@ GLES2_GetFBO(GLES2_DriverContext *data, Uint32 w, Uint32 h)
result = SDL_malloc(sizeof(GLES2_FBOList));
result->w = w;
result->h = h;
glGenFramebuffers(1, &result->FBO);
data->glGenFramebuffers(1, &result->FBO);
result->next = data->framebuffers;
data->framebuffers = result;
}
Expand Down

0 comments on commit ab2281a

Please sign in to comment.