Browse Source

egl: Fix narrowing warning/error (#2891)

Sandy 3 years ago
parent
commit
30f2920ae5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/glcontext_egl.cpp

+ 1 - 1
src/glcontext_egl.cpp

@@ -224,7 +224,7 @@ EGL_IMPORT
 
 
 #	if BX_PLATFORM_ANDROID
 #	if BX_PLATFORM_ANDROID
 				EGL_DEPTH_SIZE, 16,
 				EGL_DEPTH_SIZE, 16,
-				EGL_SAMPLES, msaaSamples,
+				EGL_SAMPLES, (EGLint)msaaSamples,
 #	else
 #	else
 				EGL_DEPTH_SIZE, 24,
 				EGL_DEPTH_SIZE, 24,
 #	endif // BX_PLATFORM_
 #	endif // BX_PLATFORM_