Kill some stale code.
This commit is contained in:
parent
2b28050c15
commit
c19bdc7c2c
2
gfx/gl.c
2
gfx/gl.c
|
@ -85,8 +85,6 @@ static const GLfloat white_color[] = {
|
||||||
1, 1, 1, 1,
|
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)
|
static inline bool gl_query_extension(gl_t *gl, const char *ext)
|
||||||
{
|
{
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
|
|
|
@ -37,9 +37,6 @@
|
||||||
|
|
||||||
#include "glsym/glsym.h"
|
#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_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_update_window_title_func() gl->ctx_driver->update_window_title()
|
||||||
#define context_destroy_func() gl->ctx_driver->destroy()
|
#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) \
|
#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)
|
gl->ctx_driver->write_egl_image(frame, width, height, pitch, base_size, tex_index,img)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
static inline bool gl_check_error(void)
|
static inline bool gl_check_error(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue