From c19bdc7c2c85920b7ef54a98c1e0eedf4a7cdf00 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 11 Aug 2013 01:24:48 +0200 Subject: [PATCH] Kill some stale code. --- gfx/gl.c | 2 -- gfx/gl_common.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/gfx/gl.c b/gfx/gl.c index 986af774c9..69402a8c5a 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -85,8 +85,6 @@ static const GLfloat white_color[] = { 1, 1, 1, 1, }; -// Workaround broken Apple headers. -typedef const GLubyte* (*gl_get_stringi_proc)(GLenum name, GLuint index); static inline bool gl_query_extension(gl_t *gl, const char *ext) { bool ret = false; diff --git a/gfx/gl_common.h b/gfx/gl_common.h index 0c1dfb753c..3da0b5d53c 100644 --- a/gfx/gl_common.h +++ b/gfx/gl_common.h @@ -37,9 +37,6 @@ #include "glsym/glsym.h" -#if defined(ANDROID) && defined(HAVE_GRIFFIN) -#include "../griffin/hook_context.h" -#else #define context_get_video_size_func(win, height) gl->ctx_driver->get_video_size(win, height) #define context_update_window_title_func() gl->ctx_driver->update_window_title() #define context_destroy_func() gl->ctx_driver->destroy() @@ -60,7 +57,6 @@ #define context_write_egl_image_func(frame, width, height, pitch, base_size, tex_index, img) \ gl->ctx_driver->write_egl_image(frame, width, height, pitch, base_size, tex_index,img) #endif -#endif static inline bool gl_check_error(void) {