Skip to content

Commit 32fcfd3

Browse files
committed
Minor tweaks
1 parent 77df0ab commit 32fcfd3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/platforms/rcore_android.c

+3-5
Original file line numberDiff line numberDiff line change
@@ -853,22 +853,20 @@ static int InitGraphicsDevice(void)
853853
TRACELOG(LOG_INFO, "DISPLAY: Trying to enable MSAA x4");
854854
}
855855

856-
const EGLint framebufferAttribs[] =
857-
{
856+
const EGLint framebufferAttribs[] = {
858857
EGL_RENDERABLE_TYPE, (rlGetVersion() == RL_OPENGL_ES_30)? EGL_OPENGL_ES3_BIT : EGL_OPENGL_ES2_BIT, // Type of context support
859858
EGL_RED_SIZE, 8, // RED color bit depth (alternative: 5)
860859
EGL_GREEN_SIZE, 8, // GREEN color bit depth (alternative: 6)
861860
EGL_BLUE_SIZE, 8, // BLUE color bit depth (alternative: 5)
862861
//EGL_TRANSPARENT_TYPE, EGL_NONE, // Request transparent framebuffer (EGL_TRANSPARENT_RGB does not work on RPI)
863862
EGL_DEPTH_SIZE, 16, // Depth buffer size (Required to use Depth testing!)
864863
//EGL_STENCIL_SIZE, 8, // Stencil buffer size
865-
EGL_SAMPLE_BUFFERS, sampleBuffer, // Activate MSAA
864+
EGL_SAMPLE_BUFFERS, sampleBuffer, // Activate MSAA
866865
EGL_SAMPLES, samples, // 4x Antialiasing if activated (Free on MALI GPUs)
867866
EGL_NONE
868867
};
869868

870-
const EGLint contextAttribs[] =
871-
{
869+
const EGLint contextAttribs[] = {
872870
EGL_CONTEXT_CLIENT_VERSION, 2,
873871
EGL_NONE
874872
};

0 commit comments

Comments
 (0)