From 9aa7f9fff590aa343eb24336a4e487743ccbc07b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 26 Feb 2013 01:19:03 +0100 Subject: [PATCH] (Playbook) Got further - now hangs at 'screen_create_window' (EGL context) --- gfx/gfx_context.c | 3 +++ gfx/gfx_context.h | 1 + 2 files changed, 4 insertions(+) diff --git a/gfx/gfx_context.c b/gfx/gfx_context.c index 2c00351d01..94808e85e1 100644 --- a/gfx/gfx_context.c +++ b/gfx/gfx_context.c @@ -48,6 +48,9 @@ static const gfx_ctx_driver_t *gfx_ctx_drivers[] = { #if defined(ANDROID) &gfx_ctx_android, #endif +#if defined(__BLACKBERRY_QNX__) + &gfx_ctx_bbqnx, +#endif }; const gfx_ctx_driver_t *gfx_ctx_find_driver(const char *ident) diff --git a/gfx/gfx_context.h b/gfx/gfx_context.h index 3a4453e49a..6e04d283ac 100644 --- a/gfx/gfx_context.h +++ b/gfx/gfx_context.h @@ -136,6 +136,7 @@ extern const gfx_ctx_driver_t gfx_ctx_ps3; extern const gfx_ctx_driver_t gfx_ctx_xdk; extern const gfx_ctx_driver_t gfx_ctx_wgl; extern const gfx_ctx_driver_t gfx_ctx_videocore; +extern const gfx_ctx_driver_t gfx_ctx_bbqnx; const gfx_ctx_driver_t *gfx_ctx_find_driver(const char *ident); // Finds driver with ident. Does not initialize. const gfx_ctx_driver_t *gfx_ctx_init_first(enum gfx_ctx_api api); // Finds first suitable driver and initializes.