mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Use the same context attributes as the video_decode sample
This commit is contained in:
parent
5b71aa0ce2
commit
33a19a52f4
@ -66,9 +66,14 @@ void MoonlightInstance::InitializeRenderingSurface(int width, int height) {
|
||||
}
|
||||
|
||||
int32_t contextAttributes[] = {
|
||||
PP_GRAPHICS3DATTRIB_ALPHA_SIZE, 8,
|
||||
PP_GRAPHICS3DATTRIB_BLUE_SIZE, 8,
|
||||
PP_GRAPHICS3DATTRIB_GREEN_SIZE, 8,
|
||||
PP_GRAPHICS3DATTRIB_RED_SIZE, 8,
|
||||
PP_GRAPHICS3DATTRIB_DEPTH_SIZE, 0,
|
||||
PP_GRAPHICS3DATTRIB_STENCIL_SIZE, 0,
|
||||
PP_GRAPHICS3DATTRIB_SAMPLES, 0,
|
||||
PP_GRAPHICS3DATTRIB_SAMPLE_BUFFERS, 0,
|
||||
PP_GRAPHICS3DATTRIB_WIDTH, width,
|
||||
PP_GRAPHICS3DATTRIB_HEIGHT, height,
|
||||
PP_GRAPHICS3DATTRIB_NONE
|
||||
|
Loading…
x
Reference in New Issue
Block a user