summaryrefslogtreecommitdiff
path: root/src/sdl/sdl_glimp.c
AgeCommit message (Collapse)Author
2017-03-09request a visual with at least 1 alpha bit: add r_alphabits, defaulting to 1/dev/humancontroller
this is required for binary shaders
2017-02-06use system libraries more properly; introduce a dependency on Minizip/dev/humancontroller
remove the USE_LOCAL_HEADERS option (it was broken anyway)
2016-04-07SDL_GL_SetSwapInterval() checkPan7
2016-04-07SDL_GetWindowDisplayIndex() check2Pan7
2016-04-07Added SDL_GetError()Pan7
2016-04-07SDL_CreateWindow NULL checkPan7
2016-04-07SDL_GetWindowDisplayIndex checkPan7
2016-04-07SDL_Init zero checkPan7
2016-04-07Fix variable declaration for C89 compilersZack Middleton
2016-04-07Check SDL_GetNumDisplayModes return value for errorsTim Angus
2016-04-07Remove erroneous new line from error messageZack Middleton
2016-04-07Don't crash if more than 128 modes are availableSimon McVittie
2015-06-08fix initialization based on r_width and r_height/dev/humancontroller
let the cvars default to "0"; upon video startup, if any of these are non-positive, try to pick up the desktop's resolution, and update the cvars
2015-03-17Clear window buffer when it's createdZack Middleton
When starting the game in windowed mode, the window buffer used whatever was on the screen before running the game. Kind of like you could see through the window, but it doesn't update what happens behind it. It makes it look like something is broken or non-responsive. So clear the window opengl buffer to black. Credit to theinvsblman for the code.
2015-03-17Don't add duplicate resolutions to r_availableModesZack Middleton
SDL can give the same resolution with different refresh rates. The refresh rate isn't used, so only add resolution to mode list once.
2014-08-28Fix multisampling on X11Zack Middleton
Setting SDL_GL_ACCELERATED_VISUAL was disabled for ioq3 SDL 1.2 for other reasons. However, it causes creating GL context to fail if multisampling is enabled on X11 for both SDL1.2 and SDL2. Tested using nVidia proprietary driver on Debian 7.
2014-08-28Don't crash when fail to create SDL windowZack Middleton
2014-08-28Use bundle icon on Mac OS X instead of internal 32x32 window iconZack Middleton
2014-08-28Don't set the window title twicecmf028
2014-08-28Various fixes from FumaTim Angus
2014-08-28Fix initial window position being top leftTim Angus
2014-08-28Fix wacky patch for r_ignorehwgammaTim Angus
2014-08-28Allow hardware gamma, in theoryTim Angus
2014-08-28Use SDL 2 instead of SDL 1.2Tim Angus
2014-06-17Add latch to r_centerWindow and r_allowResizeZack Middleton
2014-06-17Fix text getting appended to vid_restart in command bufferZack Middleton
I was getting unknown command "vid_restart-button2" warning on OSX when trying to use alt-return to toggle fullscreen.
2013-02-16Update copyright noticesTim Angus
2013-02-16Add renderercommon/tr_common.hTim Angus
2013-02-16renderer -> renderergl1, rend2 -> renderergl2Tim Angus
2013-02-16Remove the SMP renderer featureTim Angus
2013-01-12Don't include client.h in sdl_glimp.c as it is part of the external renderer ↵Zack Middleton
lib.
2013-01-12r_ignorehwgamma 1 does not actually turn on software gamma (#5511) - patch ↵Thilo Schulz
by Serge Belyshev
2013-01-10Modular rendering system. Patch by use.less01 This might break MSVC builds. ↵Thilo Schulz
I'll take care of it later
2013-01-09Remove newlines from Com_Error calls, patch by DevHCThilo Schulz
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Merge ioq3-r1813Tim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1752Tim Angus
2013-01-03* s/ITEM_TYPE_COMBO/ITEM_TYPE_CYCLE/Tim Angus
* Add ITEM_TYPE_COMBOBOX -- a proper combobox widget * Use ITEM_TYPE_COMBOBOX for video mode selection * General refactoring of the listbox code * Various other assorted tidy-ups
2013-01-03* Merge ioq3-r1708Tim Angus
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Merge ioq3-r1458Tim Angus
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* Merge ioq3-r1272Tim Angus
2013-01-03* s/r_custom/r_/Tim Angus
* Remove r_mode, making r_width and r_height the only way to choose resolution * Add UI code to parse the detected resolutions list * Make ITEM_TYPE_COMBO do something; basically an ITEM_TYPE_MULTI which is populated by a feeder. A proper combobox widget would be better... in the future maybe * Improve keyboard/mouse button control on ITEM_TYPE_MULTI * Change resolution selection in options menu to use an ITEM_TYPE_COMBO fed by FEEDER_RESOLUTIONS
2013-01-03* Merge ioq3-r1233Tim Angus
2007-11-28* Merge ioq3-r1220Tim Angus
2007-11-03* Merge ioq3-r1204Tim Angus
2007-10-02* Merge of ioq3-r1189Tim Angus
+ Fix bug that prevented key up events getting to cgame/ui when not in game + Use Key_[GS]etCatcher everywhere to set keycatcher + Clear all key states when the catcher changes * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
2007-09-13* Merge of ioq3-r1178Tim Angus