Re-tie initial SDL mouse grabbing to DEBUGGINGAIDS.

git-svn-id: https://svn.eduke32.com/eduke32@1704 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2010-08-26 15:27:57 +00:00
parent 1d28272c4a
commit ed17c7af80

View file

@ -547,8 +547,7 @@ void grabmouse(char a)
{
if (a != mouseacquired)
{
// #ifndef DEBUGGINGAIDS
#if 1
#ifndef DEBUGGINGAIDS
SDL_GrabMode g;
g = SDL_WM_GrabInput(a ? SDL_GRAB_ON : SDL_GRAB_OFF);
@ -1375,9 +1374,9 @@ void showframe(int32_t w)
bglColor4ub(palfadergb.r, palfadergb.g, palfadergb.b, palfadedelta);
bglBegin(GL_TRIANGLES);
bglVertex2f(-2.5f, 1.f);
bglVertex2f(2.5f, 1.f);
bglVertex2f(.0f, -2.5f);
bglVertex2f(-2.5f, 1.f);
bglVertex2f(2.5f, 1.f);
bglVertex2f(.0f, -2.5f);
bglEnd();
bglDisable(GL_BLEND);