linux compile fixes

This commit is contained in:
baldurk
2014-11-01 16:53:51 +00:00
parent 53a4964cb3
commit bf46a3fd54
3 changed files with 5 additions and 1 deletions
+4
View File
@@ -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!");
+1
View File
@@ -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);
-1
View File
@@ -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)