Age | Commit message (Collapse) | Author |
|
|
|
This is based upon skristiansson's change set to make ScummVM work with SDL2.
|
|
|
|
|
|
|
|
visible.
|
|
|
|
|
|
|
|
|
|
Thanks to fuzzie for noticing this.
|
|
Otherwise we can end up with the wrong resolution when we make
multiple resizes in quick succession.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes sure the default mode also works for OpenGL ES contexts.
|
|
|
|
The reason here is that GL_UNSIGNED_INT_8_8_8_8 is not supported by the GLES
standard. Thus we cannot use it outside OpenGL specific code paths.
|
|
|
|
|
|
|
|
This adjusts for the fact that our event handling also uses signed coordinates.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This prevents any texture name leaks (and thus memory leaks) on
recreateInternalTexture calls.
|
|
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
|
|
There might be various error flags and we need to clear all of them to get
precise error results. Thus, we need to call glGetError in a loop to achieve
that.
|
|
|
|
|
|
|
|
This fixes a crash when opening the menu in the SCI Laura Bow 2 intro.
|
|
|
|
|
|
We can do this now that we can use virtual inheritance and dynamic_cast
because we enabled RTTI.
|
|
|
|
|