summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-10-10Remove most unused files.Andrei Karas1-271/+0
2017-09-13Fix compilation with SDL 2 < 2.0.2.Andrei Karas1-0/+4
2017-09-13Add option to select any existing SDL renderer drivers for SDL2 default mode.Andrei Karas1-0/+39
2017-09-13Fix option for enable/disable screensaver in SDL 2.Andrei Karas1-0/+15
2017-09-11Add option to set sdl logging level.Andrei Karas1-0/+5
Only for SDL2.
2017-09-08Split SDL_WaitEventTimeout/SDL_PollEvent into lower level SDL function calls.Andrei Karas1-0/+11
2017-09-07Fix possible thread structure memory leak on SDL2 if thread terminated ↵Andrei Karas1-0/+6
before cleanup.
2017-09-07Add SDL2 errors logging.Andrei Karas1-0/+6
2017-09-07Remove useless calls in SDL::getAllVideoModes for SDL2.Andrei Karas1-3/+2
2017-06-29Fix compilation with old compilers and not for linux.Andrei Karas1-0/+1
2017-06-20Fix sdl warning hiding pragmas for old compilers.Andrei Karas1-3/+3
2017-06-20Prevent Wshadow varnings in SDL code.Andrei Karas1-0/+3
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-03Fix context switching in SDL 2.Andrei Karas1-11/+15
2016-09-03Show error messages in SDL2 OpenGL context creation function.Andrei Karas1-0/+31
2016-06-14Remove some useless includes.Andrei Karas1-1/+0
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-10In OpenGL context creation add support for compatability context.Andrei Karas1-13/+28
2014-07-02Fix resize in modernopengl with own context in SDL1.2 build.Andrei Karas1-0/+4
2014-06-24Add manual OpenGL context creation.Andrei Karas1-0/+32
For SDL2 set attributes for context version. For SDL1.2 in X11 create own context. For SDL1.2 and other platforms not implimented for now. Also try fallback if need to older context versions.
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-18add restrict into sdl2helper.Andrei Karas1-1/+2
2013-09-18add const to other files.Andrei Karas1-1/+1
2013-08-27remove unused comment.Andrei Karas1-3/+0
2013-08-24fix detecting possible resolutions in SDL2.Andrei Karas1-1/+23
2013-08-24move threads creation into sdl helper.Andrei Karas1-0/+6
2013-08-24move WMInfo function calls into SDL helper.Andrei Karas1-0/+6
2013-08-24move some function to sdl helper.Andrei Karas1-0/+10
2013-08-24fix "grab input" in SDL2.Andrei Karas1-0/+5
2013-08-24fix window title and icon in SDL2.Andrei Karas1-0/+10
2013-08-24add sdlhelper with some low level SDL functions.Andrei Karas1-0/+40