Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-10-17 12:53:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-17 12:53:15 +0300
commit9598bad59c95ea51d3e933e2cf07c0172b595adc (patch)
treeaf36e0327336f7501aab79f1cfbd00467325b5c0 /source/blender
parentb65fecd9a093337e397ee0aafc07d57ecc23e855 (diff)
GPU: Report number of compressed texture formats to help nailing crahs down in the future
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/intern/gpu_debug.c1
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);