mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Fix CXX_BUILD.
This commit is contained in:
parent
c007e5860c
commit
a9df0a230d
@ -379,8 +379,8 @@ static bool gfx_ctx_set_video_mode(
|
||||
if (g_core)
|
||||
{
|
||||
const int attribs[] = {
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, g_major,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, g_minor,
|
||||
GLX_CONTEXT_MAJOR_VERSION_ARB, (int)g_major,
|
||||
GLX_CONTEXT_MINOR_VERSION_ARB, (int)g_minor,
|
||||
GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB,
|
||||
GLX_CONTEXT_FLAGS_ARB, g_extern.system.hw_render_callback.debug_context ? GLX_CONTEXT_DEBUG_BIT_ARB : 0,
|
||||
None,
|
||||
|
@ -125,8 +125,8 @@ static void create_gl_context(HWND hwnd)
|
||||
#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001
|
||||
#endif
|
||||
const int attribs[] = {
|
||||
WGL_CONTEXT_MAJOR_VERSION_ARB, g_major,
|
||||
WGL_CONTEXT_MINOR_VERSION_ARB, g_minor,
|
||||
WGL_CONTEXT_MAJOR_VERSION_ARB, (int)g_major,
|
||||
WGL_CONTEXT_MINOR_VERSION_ARB, (int)g_minor,
|
||||
WGL_CONTEXT_PROFILE_MASK_ARB, WGL_CONTEXT_CORE_PROFILE_BIT_ARB,
|
||||
WGL_CONTEXT_FLAGS_ARB, g_extern.system.hw_render_callback.debug_context ? WGL_CONTEXT_DEBUG_BIT_ARB : 0,
|
||||
0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user