compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2134 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-02-07 19:17:20 +00:00
parent d5bcb81872
commit adde9b778b
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
#define _DEBUGINTERFACE_H
#include <string>
#include <string.h>
class DebugInterface
{

View File

@ -265,10 +265,11 @@ bool X11Window::MakeCurrent() {
&w, &h, &borderDummy, &depth);
ERROR_LOG("GLWin Depth %d", depth);
if (glXIsDirect(dpy, ctx))
if (glXIsDirect(dpy, ctx)) {
ERROR_LOG("you have Direct Rendering!");
else
} else {
ERROR_LOG("no Direct Rendering possible!");
}
// better for pad plugin key input (thc)
XSelectInput(dpy, win, ExposureMask | KeyPressMask | ButtonPressMask |