summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index df446a5601..55a6ba8ba8 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -189,6 +189,9 @@
#ifndef GL_PROGRAM_ERROR_POSITION
#define GL_PROGRAM_ERROR_POSITION 0x864B
#endif
+#ifndef GL_PROGRAM_ERROR_STRING
+#define GL_PROGRAM_ERROR_STRING 0x8874
+#endif
/** \} */ // end of glextdefines group
void glAdjustAlignment(int stride);
@@ -208,6 +211,7 @@ void glUploadTex(GLenum target, GLenum format, GLenum type,
void glDrawTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h,
GLfloat tx, GLfloat ty, GLfloat tw, GLfloat th,
int sx, int sy, int rect_tex, int is_yv12, int flip);
+int loadGPUProgram(GLenum target, char *prog);
/** \addtogroup glconversion
* \{ */