mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
Not sure if/when we will be needing this 'ancient' codepath
This commit is contained in:
parent
aa9dcc2a8e
commit
d0818e6e62
@ -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() ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user