1 #ifndef OPENMW_COMPONENTS_SDLUTIL_SDLVIDEOWRAPPER_H
2 #define OPENMW_COMPONENTS_SDLUTIL_SDLVIDEOWRAPPER_H
21 VideoWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> viewer);
28 void setVideoMode(
int width,
int height,
bool fullscreen,
bool windowBorder);
void setSyncToVBlank(bool sync)
Definition: sdlvideowrapper.cpp:31
Definition: sdlvideowrapper.hpp:18
bool mHasSetGammaContrast
Definition: sdlvideowrapper.hpp:36
~VideoWrapper()
Definition: sdlvideowrapper.cpp:22
float mContrast
Definition: sdlvideowrapper.hpp:35
VideoWrapper(SDL_Window *window, osg::ref_ptr< osgViewer::Viewer > viewer)
Definition: sdlvideowrapper.cpp:12
Uint16 mOldSystemGammaRamp[256 *3]
Definition: sdlvideowrapper.hpp:39
void setGammaContrast(float gamma, float contrast)
Definition: sdlvideowrapper.cpp:44
SDL_Window * mWindow
Definition: sdlvideowrapper.hpp:31
float mGamma
Definition: sdlvideowrapper.hpp:34
void setVideoMode(int width, int height, bool fullscreen, bool windowBorder)
Definition: sdlvideowrapper.cpp:71
osg::ref_ptr< osgViewer::Viewer > mViewer
Definition: sdlvideowrapper.hpp:32