Permalink
Browse files

Add missing IF statement for instance rendering check..

  • Loading branch information...
hrydgard committed Dec 8, 2017
1 parent 4a0c2ad commit 6e3cb0cd4897d253a4260e2c97d39b0ad4cbb752
Showing with 1 addition and 0 deletions.
  1. +1 −0 GPU/GLES/GPU_GLES.cpp
@@ -300,6 +300,7 @@ void GPU_GLES::CheckGPUFeatures() {
bool canUseInstanceID = gl_extensions.EXT_draw_instanced || gl_extensions.ARB_draw_instanced;
bool canDefInstanceID = gl_extensions.IsGLES || gl_extensions.EXT_gpu_shader4 || gl_extensions.VersionGEThan(3, 1);
bool instanceRendering = gl_extensions.GLES3 || (canUseInstanceID && canDefInstanceID);
if (instanceRendering)
features |= GPU_SUPPORTS_INSTANCE_RENDERING;
int maxVertexTextureImageUnits;

0 comments on commit 6e3cb0c

Please sign in to comment.