From 9598bad59c95ea51d3e933e2cf07c0172b595adc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 17 Oct 2017 11:53:15 +0200 Subject: GPU: Report number of compressed texture formats to help nailing crahs down in the future --- source/blender/gpu/intern/gpu_debug.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender') 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); -- cgit v1.2.3