mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Namespace GL2 driver
This commit is contained in:
parent
b7c1fda56f
commit
1e394091d8
422
gfx/drivers/gl.c
422
gfx/drivers/gl.c
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user