Not sure if/when we will be needing this 'ancient' codepath

This commit is contained in:
twinaphex 2016-07-12 21:10:49 +02:00
parent aa9dcc2a8e
commit d0818e6e62

View File

@ -58,17 +58,22 @@ static bool gl_raster_font_upload_atlas(gl_raster_t *font,
GLenum gl_format = GL_LUMINANCE_ALPHA; GLenum gl_format = GL_LUMINANCE_ALPHA;
size_t ncomponents = 2; size_t ncomponents = 2;
uint8_t *tmp = NULL; uint8_t *tmp = NULL;
#if 0
bool ancient = false; /* add a check here if needed */ bool ancient = false; /* add a check here if needed */
#endif
#if defined(GL_VERSION_3_0) #if defined(GL_VERSION_3_0)
struct retro_hw_render_callback *hwr = video_driver_get_hw_context(); struct retro_hw_render_callback *hwr = video_driver_get_hw_context();
#endif #endif
#if 0
if (ancient) if (ancient)
{ {
gl_internal = GL_RGBA; gl_internal = GL_RGBA;
gl_format = GL_RGBA; gl_format = GL_RGBA;
ncomponents = 4; ncomponents = 4;
} }
#endif
#if defined(GL_VERSION_3_0) #if defined(GL_VERSION_3_0)
if (gl_query_core_context_in_use() || if (gl_query_core_context_in_use() ||