mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 03:10:07 +00:00
update librw; render groups only if extension supported
This commit is contained in:
parent
3457ff48ce
commit
11bc8ea602
|
@ -107,6 +107,7 @@ void
|
||||||
PushRendergroup(const char *name)
|
PushRendergroup(const char *name)
|
||||||
{
|
{
|
||||||
#if defined(RW_OPENGL)
|
#if defined(RW_OPENGL)
|
||||||
|
if(GLAD_GL_KHR_debug)
|
||||||
glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, -1, name);
|
glPushDebugGroup(GL_DEBUG_SOURCE_APPLICATION, 0, -1, name);
|
||||||
#elif defined(RW_D3D9)
|
#elif defined(RW_D3D9)
|
||||||
static WCHAR tmp[256];
|
static WCHAR tmp[256];
|
||||||
|
@ -119,6 +120,7 @@ void
|
||||||
PopRendergroup(void)
|
PopRendergroup(void)
|
||||||
{
|
{
|
||||||
#if defined(RW_OPENGL)
|
#if defined(RW_OPENGL)
|
||||||
|
if(GLAD_GL_KHR_debug)
|
||||||
glPopDebugGroup();
|
glPopDebugGroup();
|
||||||
#elif defined(RW_D3D9)
|
#elif defined(RW_D3D9)
|
||||||
D3DPERF_EndEvent();
|
D3DPERF_EndEvent();
|
||||||
|
|
2
vendor/librw
vendored
2
vendor/librw
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 65c619b3e7dcec6f5dbd05d3203b530d667ba90f
|
Subproject commit cc550ff69c06ec03aae9ac7ac1f634703800660f
|
Loading…
Reference in a new issue