mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-05 05:42:18 +00:00
Moved most uses of glGetTexImage() into a single function with better error checking.
Also small config addition to optionally increase memory allocation size for temporary texture pixel data; the nouveau drivers seem notoriously awkward and keep writing over the buffer.
This commit is contained in:
parent
5b7757530f
commit
063b1c0dfc
6 changed files with 123 additions and 72 deletions
|
@ -1903,6 +1903,7 @@ bool Core::initGraphicsLibrary(int width, int height, bool fullscreen, int vsync
|
|||
// putenv(), which takes a (char *), and freaks out newer GCC releases
|
||||
// when you try to pass a (const!) string literal here... --ryan.
|
||||
SDL_putenv((char *) "SDL_VIDEO_CENTERED=1");
|
||||
SDL_putenv((char *) "LIBGL_DEBUG=verbose"); // temp, to track errors on linux with nouveau drivers.
|
||||
|
||||
if (recreate)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue