@@ -853,22 +853,20 @@ static int InitGraphicsDevice(void)
853
853
TRACELOG (LOG_INFO , "DISPLAY: Trying to enable MSAA x4" );
854
854
}
855
855
856
- const EGLint framebufferAttribs [] =
857
- {
856
+ const EGLint framebufferAttribs [] = {
858
857
EGL_RENDERABLE_TYPE , (rlGetVersion () == RL_OPENGL_ES_30 )? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT , // Type of context support
859
858
EGL_RED_SIZE , 8 , // RED color bit depth (alternative: 5)
860
859
EGL_GREEN_SIZE , 8 , // GREEN color bit depth (alternative: 6)
861
860
EGL_BLUE_SIZE , 8 , // BLUE color bit depth (alternative: 5)
862
861
//EGL_TRANSPARENT_TYPE, EGL_NONE, // Request transparent framebuffer (EGL_TRANSPARENT_RGB does not work on RPI)
863
862
EGL_DEPTH_SIZE , 16 , // Depth buffer size (Required to use Depth testing!)
864
863
//EGL_STENCIL_SIZE, 8, // Stencil buffer size
865
- EGL_SAMPLE_BUFFERS , sampleBuffer , // Activate MSAA
864
+ EGL_SAMPLE_BUFFERS , sampleBuffer , // Activate MSAA
866
865
EGL_SAMPLES , samples , // 4x Antialiasing if activated (Free on MALI GPUs)
867
866
EGL_NONE
868
867
};
869
868
870
- const EGLint contextAttribs [] =
871
- {
869
+ const EGLint contextAttribs [] = {
872
870
EGL_CONTEXT_CLIENT_VERSION , 2 ,
873
871
EGL_NONE
874
872
};
0 commit comments