(Android/QNX) get_proc_address was not bound in context driver

This commit is contained in:
twinaphex 2013-05-12 01:15:44 +02:00
parent 921932f8d2
commit 71c699b5fc
3 changed files with 6 additions and 2 deletions

View File

@ -278,7 +278,7 @@ const gfx_ctx_driver_t gfx_ctx_android = {
gfx_ctx_has_focus,
gfx_ctx_swap_buffers,
gfx_ctx_input_driver,
NULL,
gfx_ctx_get_proc_address,
#ifdef HAVE_EGL
gfx_ctx_init_egl_image_buffer,
gfx_ctx_write_egl_image,

View File

@ -392,7 +392,7 @@ const gfx_ctx_driver_t gfx_ctx_bbqnx = {
gfx_ctx_has_focus,
gfx_ctx_swap_buffers,
gfx_ctx_input_driver,
NULL,
gfx_ctx_get_proc_address,
NULL,
"blackberry_qnx",
};

View File

@ -650,6 +650,10 @@ void gl_init_fbo(void *data, unsigned width, unsigned height)
#ifndef HAVE_RGL
bool gl_init_hw_render(gl_t *gl, unsigned width, unsigned height)
{
#if defined(__QNX__) || defined(ANDROID)
width = 512;
height = 512;
#endif
RARCH_LOG("[GL]: Initializing HW render (%u x %u).\n", width, height);
if (!load_fbo_proc(gl))