mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
gl: Enable core context and debug output.
This commit is contained in:
parent
35570a5ebf
commit
855d6935d9
7 changed files with 45 additions and 22 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "stdafx.h"
|
||||
#include "stdafx_gui.h"
|
||||
#include "GLGSFrame.h"
|
||||
#include "config.h"
|
||||
#include <wx/version.h>
|
||||
|
||||
GLGSFrame::GLGSFrame() : GSFrame("OpenGL")
|
||||
{
|
||||
|
|
@ -9,6 +11,14 @@ GLGSFrame::GLGSFrame() : GSFrame("OpenGL")
|
|||
WX_GL_RGBA,
|
||||
WX_GL_DEPTH_SIZE, 16,
|
||||
WX_GL_DOUBLEBUFFER,
|
||||
#if wxCHECK_VERSION(3, 1, 0)
|
||||
WX_GL_MAJOR_VERSION, 3,
|
||||
WX_GL_MINOR_VERSION, 3,
|
||||
WX_GL_CORE_PROFILE,
|
||||
#if !defined(CMAKE_BUILD)
|
||||
rpcs3::config.rsx.d3d12.debug_output.value() ? WX_GL_DEBUG : 0,
|
||||
#endif
|
||||
#endif
|
||||
0
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue