@@ -898,18 +898,17 @@ int InitPlatform(void)
898
898
TRACELOG (LOG_INFO , "DISPLAY: Trying to enable MSAA x4" );
899
899
}
900
900
901
- const EGLint framebufferAttribs [] =
902
- {
903
- EGL_RENDERABLE_TYPE , (rlGetVersion () == RL_OPENGL_ES_30 )? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT , // Type of context support
904
- EGL_SURFACE_TYPE , EGL_WINDOW_BIT , // Don't use it on Android!
901
+ const EGLint framebufferAttribs [] = {
902
+ EGL_RENDERABLE_TYPE , (rlGetVersion () == RL_OPENGL_ES_30 )? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT , // Type of context support
903
+ EGL_SURFACE_TYPE , EGL_WINDOW_BIT , // Don't use it on Android!
905
904
EGL_RED_SIZE , 8 , // RED color bit depth (alternative: 5)
906
905
EGL_GREEN_SIZE , 8 , // GREEN color bit depth (alternative: 6)
907
906
EGL_BLUE_SIZE , 8 , // BLUE color bit depth (alternative: 5)
908
907
EGL_ALPHA_SIZE , 8 , // ALPHA bit depth (required for transparent framebuffer)
909
908
//EGL_TRANSPARENT_TYPE, EGL_NONE, // Request transparent framebuffer (EGL_TRANSPARENT_RGB does not work on RPI)
910
909
EGL_DEPTH_SIZE , 16 , // Depth buffer size (Required to use Depth testing!)
911
910
//EGL_STENCIL_SIZE, 8, // Stencil buffer size
912
- EGL_SAMPLE_BUFFERS , sampleBuffer , // Activate MSAA
911
+ EGL_SAMPLE_BUFFERS , sampleBuffer , // Activate MSAA
913
912
EGL_SAMPLES , samples , // 4x Antialiasing if activated (Free on MALI GPUs)
914
913
EGL_NONE
915
914
};
0 commit comments