mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-16 04:27:08 +00:00
linux compile fixes
This commit is contained in:
@@ -216,6 +216,8 @@ GLenum GetBaseFormat(GLenum internalFormat)
|
||||
case eGL_STENCIL_INDEX8:
|
||||
case eGL_STENCIL_INDEX16:
|
||||
return eGL_STENCIL;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
RDCERR("Unhandled Base Format case!");
|
||||
@@ -314,6 +316,8 @@ GLenum GetDataType(GLenum internalFormat)
|
||||
return eGL_FLOAT_32_UNSIGNED_INT_24_8_REV;
|
||||
case eGL_STENCIL_INDEX8:
|
||||
return eGL_UNSIGNED_BYTE;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
RDCERR("Unhandled Data Type case!");
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
namespace Keyboard { extern Display *CurrentXDisplay; }
|
||||
|
||||
typedef GLXContext (*PFNGLXCREATECONTEXTPROC)(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
|
||||
typedef void (*PFNGLXDESTROYCONTEXTPROC)(Display *dpy, GLXContext ctx);
|
||||
typedef const char *(*PFNGLXQUERYEXTENSIONSSTRING)(Display *dpy, int screen);
|
||||
typedef Bool (*PFNGLXMAKECURRENTPROC)(Display *dpy, GLXDrawable drawable, GLXContext ctx);
|
||||
typedef void (*PFNGLXSWAPBUFFERSPROC)(Display *dpy, GLXDrawable drawable);
|
||||
|
||||
@@ -43,7 +43,6 @@ uint32_t Process::CreateAndInjectIntoProcess(const wchar_t *app, const wchar_t *
|
||||
void Process::StartGlobalHook(const wchar_t *pathmatch, const wchar_t *logfile, const CaptureOptions *opts)
|
||||
{
|
||||
RDCUNIMPLEMENTED();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *Process::GetFunctionAddress(const char *module, const char *function)
|
||||
|
||||
Reference in New Issue
Block a user