egl: Fix narrowing warning/error (#2891)

This commit is contained in:
Sandy 2022-08-24 17:31:55 -04:00 committed by GitHub
parent 8207645355
commit 30f2920ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_