From 30f2920ae5b27ca6c00c5263515b6fff9dbe723f Mon Sep 17 00:00:00 2001 From: Sandy Date: Wed, 24 Aug 2022 17:31:55 -0400 Subject: [PATCH] egl: Fix narrowing warning/error (#2891) --- src/glcontext_egl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glcontext_egl.cpp b/src/glcontext_egl.cpp index 788e4a351..fabddd5c6 100644 --- a/src/glcontext_egl.cpp +++ b/src/glcontext_egl.cpp @@ -224,7 +224,7 @@ EGL_IMPORT # if BX_PLATFORM_ANDROID EGL_DEPTH_SIZE, 16, - EGL_SAMPLES, msaaSamples, + EGL_SAMPLES, (EGLint)msaaSamples, # else EGL_DEPTH_SIZE, 24, # endif // BX_PLATFORM_