added z-stencil buffers to GL and made a GS_MAX_TEXTURES macro

This commit is contained in:
jp9000
2013-10-10 12:37:03 -07:00
parent 904725390a
commit c1939de49b
10 changed files with 104 additions and 26 deletions

View File

@@ -60,6 +60,12 @@ static inline bool gl_bind_buffer(GLenum target, GLuint buffer)
return gl_success("glBindBuffer");
}
static inline bool gl_bind_renderbuffer(GLenum target, GLuint buffer)
{
glBindRenderbuffer(target, buffer);
return gl_success("glBindRendebuffer");
}
extern bool upload_face(GLenum type, uint32_t num_levels,
GLenum format, GLint internal_format, bool compressed,
uint32_t width, uint32_t height, uint32_t size, void ***p_data);