mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +00:00
Fixed color channels displacement on Big Endian targets, take two :(
This commit is contained in:
parent
63eedf9e26
commit
eb98a999b2
1 changed files with 1 additions and 1 deletions
|
@ -1758,7 +1758,7 @@ int SDL_Flip(SDL_Surface* screen)
|
|||
#endif // __LITTLE_ENDIAN__
|
||||
|
||||
glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA8,
|
||||
width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, screen->pixels);
|
||||
width, height, 0, format, GL_UNSIGNED_BYTE, screen->pixels);
|
||||
|
||||
glBegin(GL_QUADS);
|
||||
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
|
|
Loading…
Reference in a new issue