Namespace GL2 driver

This commit is contained in:
twinaphex 2019-02-06 19:43:31 +01:00
parent b7c1fda56f
commit 1e394091d8
3 changed files with 214 additions and 214 deletions

File diff suppressed because it is too large Load Diff

View File

@ -259,7 +259,7 @@ struct aspect_ratio_elem aspectratio_lut[ASPECT_RATIO_END] = {
static const video_driver_t *video_drivers[] = {
#ifdef HAVE_OPENGL
&video_gl,
&video_gl2,
#endif
#ifdef HAVE_VULKAN
&video_vulkan,
@ -1951,7 +1951,7 @@ bool video_driver_find_driver(void)
if (hwr && hw_render_context_is_gl(hwr->context_type))
{
RARCH_LOG("[Video]: Using HW render, OpenGL driver forced.\n");
current_video = &video_gl;
current_video = &video_gl2;
}
#endif

View File

@ -1198,7 +1198,7 @@ bool video_driver_is_threaded(void);
bool video_driver_get_all_flags(gfx_ctx_flags_t *flags,
enum display_flags flag);
extern video_driver_t video_gl;
extern video_driver_t video_gl2;
extern video_driver_t video_vulkan;
extern video_driver_t video_metal;
extern video_driver_t video_psp1;