aboutsummaryrefslogtreecommitdiffstats
path: root/code/sdl/sdl_glimp.c
Commit message (Collapse)AuthorAgeFilesLines
* * Remove superfluous f from warningtma2009-09-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1637 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Avoid calculating a NaN when failing to compute the display aspect ratiotma2009-09-281-5/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1636 edf5b092-35ff-0310-97b2-ce42778d08ea
* Handle r_colorbits values better.icculus2009-09-151-3/+2
| | | | | | | Fixes Bugzilla #4244. git-svn-id: svn://svn.icculus.org/quake3/trunk@1610 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix SGI systems choosing an inefficient 36-bit color visual.icculus2009-09-151-0/+8
| | | | | | | | | Now they'll choose 16 or 32 bit correctly with this magic. Fixes Bugzilla #4245. git-svn-id: svn://svn.icculus.org/quake3/trunk@1604 edf5b092-35ff-0310-97b2-ce42778d08ea
* Allow optional window resizing.icculus2009-09-141-0/+5
| | | | | | | Fixes Bugzilla #2844. git-svn-id: svn://svn.icculus.org/quake3/trunk@1594 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix warning in cl_main.ctma2009-09-141-16/+20
| | | | | | * Fix bug #4026 (SDL dx backend doesn't work on some machines) git-svn-id: svn://svn.icculus.org/quake3/trunk@1586 edf5b092-35ff-0310-97b2-ce42778d08ea
* See here:zakk2009-06-131-0/+6
| | | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=4064 git-svn-id: svn://svn.icculus.org/quake3/trunk@1573 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't set SE_KEY event to ctrl-h; I don't think this makes sensetma2008-08-221-12/+13
| | | | | | | | | | | | * Don't warp the mouse on deactivation unless the cursor is in the window already; this fixes in_nograb * Stop grabbing the mouse in windowed mode when there is no sense in doing so * Make sure that IN_Restart is only called on r_fullscreen modification if a mode change actually takes place git-svn-id: svn://svn.icculus.org/quake3/trunk@1455 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix misplaced #endiftma2008-08-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1447 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Pass the "best" SDL_PixelFormat (as returned by the initial call totma2008-08-131-7/+26
| | | | | | | | SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an empty list when using the "windib" driver git-svn-id: svn://svn.icculus.org/quake3/trunk@1446 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Always show the mouse cursor when the mouse is disabledtma2008-08-091-0/+5
| | | | | | | | | | | * Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick * Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time * Call IN_Restart when changing r_fullscreen * Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use * Random README tweaks git-svn-id: svn://svn.icculus.org/quake3/trunk@1441 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Sys_GLimpInit for platform specific GLimp initialisationtma2008-08-081-3/+4
| | | | | | | | | | * Move Unix specific signal handlers to Sys_PlatformInit * (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already set externally * (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1 git-svn-id: svn://svn.icculus.org/quake3/trunk@1440 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace...tma2008-08-031-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1436 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Report SDL driver used on GLimp initialisationtma2008-08-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1435 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added GL_EXT_texture_compression_s3tc support.icculus2008-06-131-12/+46
| | | | | | | | GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath is the common, vendor-neutral extension to get the same results. git-svn-id: svn://svn.icculus.org/quake3/trunk@1387 edf5b092-35ff-0310-97b2-ce42778d08ea
* This may enable stereo rendering for other devices like shutter glasses, but ↵thilo2008-04-271-0/+12
| | | | | | I don't know whether this works yet. git-svn-id: svn://svn.icculus.org/quake3/trunk@1330 edf5b092-35ff-0310-97b2-ce42778d08ea
* sort video modes only if there are modes to sortludwig2008-04-131-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1319 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure fullscreen does not work for in_nograb when manually Alt-Entering, ↵thilo2008-03-261-0/+7
| | | | | | too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1282 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disabling r_allowSoftwareGL as per bug 3526tma2008-01-311-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1251 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROMtma2007-12-111-38/+93
| | | | | | | | | | | | * Guess display aspect based on the desktop resolution * Sort detected resolutions by... + closeness to display aspect + ascending width + ascending height * Apply Q3 coding style to resolution detection code git-svn-id: svn://svn.icculus.org/quake3/trunk@1232 edf5b092-35ff-0310-97b2-ce42778d08ea
* detect available resolutions and offer them in the menuludwig2007-12-081-0/+44
| | | | | | | | | | Store the resolutions detected by SDL in a cvar. The mod code can then optionally use the cvar to offer a better choice in the menu. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> git-svn-id: svn://svn.icculus.org/quake3/trunk@1231 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move SDL library version check to sys_main.c as it's proving difficult totma2007-11-251-3/+3
| | | | | | | | | | make the Makefile check sufficiently portable * Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls * Replace OS X uname workaround with Solaris workaround, as I believe OS X uname now behaves the same as GNU name git-svn-id: svn://svn.icculus.org/quake3/trunk@1217 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)tma2007-11-021-2/+10
| | | | | | | | | * (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove some C99isms (f0rqu3)tma2007-10-011-1/+1
| | | | | | | * Provide Q_snprintf wrapper for snprintf (f0rqu3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 1176 -- MinGW's headers are too old *sigh*tma2007-09-121-9/+48
| | | | | | | | | * Revert to using literal function pointers for GL extensions rather than PFN* typedefs as some platforms' headers are broken enough that they prevent SDL_opengl.h from fixing things up if the PFN* typedefs are missing git-svn-id: svn://svn.icculus.org/quake3/trunk@1177 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove use of GL_ARB_multitexture since this has been part of thetma2007-09-101-45/+6
| | | | | | | core API for many years now git-svn-id: svn://svn.icculus.org/quake3/trunk@1176 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compile time and runtime checks for SDL >= 1.2.7tma2007-09-061-0/+7
| | | | | | | * Modified versioning to play nice with the reverted Makefile change git-svn-id: svn://svn.icculus.org/quake3/trunk@1168 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix for SMP hack on OS Xtma2007-09-061-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1166 edf5b092-35ff-0310-97b2-ce42778d08ea
* * I R KNWOING HOW COMPUTARS WURK!!!!!!! lOLtma2007-09-051-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1165 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace the ugliness in qgl.h with SDL_opengl.htma2007-09-051-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1163 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-0/+804
* Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea