mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
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:
parent
1d28272c4a
commit
ed17c7af80
1 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue