Moved API-specific GLReplay code to GLPlatform.

ENABLE_GL & ENABLE_GLES can now both be ON without build errors on Linux.
This commit is contained in:
Michael Rennie
2017-02-22 12:09:27 +00:00
committed by Baldur Karlsson
parent 2ee5f76185
commit 5a1ded7386
13 changed files with 532 additions and 617 deletions
+1 -2
View File
@@ -389,10 +389,10 @@ void sig_handler(int signo)
int main(int argc, char *argv[])
{
setlocale(LC_CTYPE, "");
volatile bool never_run = false;
#if defined(RENDERDOC_SUPPORT_GL)
volatile bool never_run = false;
if(never_run)
glXWaitX();
@@ -400,7 +400,6 @@ int main(int argc, char *argv[])
#if defined(RENDERDOC_SUPPORT_GLES)
volatile bool never_run = false;
if(never_run)
eglWaitGL();