mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 00:06:09 +00:00
Don't require 2 bits of alpha for 10-bit color
This commit is contained in:
parent
a0709bec51
commit
2416618b34
@ -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…
x
Reference in New Issue
Block a user