Don't require 2 bits of alpha for 10-bit color
This commit is contained in:
parent
a0709bec51
commit
2416618b34
1 changed files with 0 additions and 1 deletions
|
|
@ -469,7 +469,6 @@ bool EGLRenderer::initialize(PDECODER_PARAMETERS params)
|
||||||
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 10);
|
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 10);
|
||||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 10);
|
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 10);
|
||||||
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 10);
|
SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 10);
|
||||||
SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 2);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
|
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue