diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-17 12:53:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-17 12:53:15 +0300 |
commit | 9598bad59c95ea51d3e933e2cf07c0172b595adc (patch) | |
tree | af36e0327336f7501aab79f1cfbd00467325b5c0 /source/blender/gpu | |
parent | b65fecd9a093337e397ee0aafc07d57ecc23e855 (diff) |
GPU: Report number of compressed texture formats to help nailing crahs down in the future
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c index 73133a6caab..859aab9565f 100644 --- a/source/blender/gpu/intern/gpu_debug.c +++ b/source/blender/gpu/intern/gpu_debug.c @@ -502,6 +502,7 @@ void GPU_state_print(void) gpu_state_print_fl(GL_COLOR_SUM); gpu_state_print_fl(GL_COLOR_TABLE); gpu_state_print_fl(GL_COLOR_WRITEMASK); + gpu_state_print_fl(GL_NUM_COMPRESSED_TEXTURE_FORMATS); gpu_state_print_fl(GL_COMPRESSED_TEXTURE_FORMATS); gpu_state_print_fl(GL_CONVOLUTION_1D); gpu_state_print_fl(GL_CONVOLUTION_2D); |