(Android/QNX) get_proc_address was not bound in context driver
This commit is contained in:
parent
921932f8d2
commit
71c699b5fc
|
@ -278,7 +278,7 @@ const gfx_ctx_driver_t gfx_ctx_android = {
|
||||||
gfx_ctx_has_focus,
|
gfx_ctx_has_focus,
|
||||||
gfx_ctx_swap_buffers,
|
gfx_ctx_swap_buffers,
|
||||||
gfx_ctx_input_driver,
|
gfx_ctx_input_driver,
|
||||||
NULL,
|
gfx_ctx_get_proc_address,
|
||||||
#ifdef HAVE_EGL
|
#ifdef HAVE_EGL
|
||||||
gfx_ctx_init_egl_image_buffer,
|
gfx_ctx_init_egl_image_buffer,
|
||||||
gfx_ctx_write_egl_image,
|
gfx_ctx_write_egl_image,
|
||||||
|
|
|
@ -392,7 +392,7 @@ const gfx_ctx_driver_t gfx_ctx_bbqnx = {
|
||||||
gfx_ctx_has_focus,
|
gfx_ctx_has_focus,
|
||||||
gfx_ctx_swap_buffers,
|
gfx_ctx_swap_buffers,
|
||||||
gfx_ctx_input_driver,
|
gfx_ctx_input_driver,
|
||||||
NULL,
|
gfx_ctx_get_proc_address,
|
||||||
NULL,
|
NULL,
|
||||||
"blackberry_qnx",
|
"blackberry_qnx",
|
||||||
};
|
};
|
||||||
|
|
4
gfx/gl.c
4
gfx/gl.c
|
@ -650,6 +650,10 @@ void gl_init_fbo(void *data, unsigned width, unsigned height)
|
||||||
#ifndef HAVE_RGL
|
#ifndef HAVE_RGL
|
||||||
bool gl_init_hw_render(gl_t *gl, unsigned width, unsigned height)
|
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);
|
RARCH_LOG("[GL]: Initializing HW render (%u x %u).\n", width, height);
|
||||||
|
|
||||||
if (!load_fbo_proc(gl))
|
if (!load_fbo_proc(gl))
|
||||||
|
|
Loading…
Reference in New Issue