From f2afdcae9a706c1a3b426da47935f0c4f2128a54 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Aug 2004 15:32:25 +0000 Subject: query/print max convolution filter size --- progs/xdemos/glxinfo.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'progs') diff --git a/progs/xdemos/glxinfo.c b/progs/xdemos/glxinfo.c index 0e9a731dc8..46311bd645 100644 --- a/progs/xdemos/glxinfo.c +++ b/progs/xdemos/glxinfo.c @@ -204,6 +204,13 @@ print_limits(void) printf(" %s = %d, %d\n", limits[i].name, max[0], max[1]); } } + /* these don't fit into the above mechanism, unfortunately */ + glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_WIDTH, max); + glGetConvolutionParameteriv(GL_CONVOLUTION_2D, GL_MAX_CONVOLUTION_HEIGHT, max+1); + if (glGetError() == GL_NONE) { + printf(" GL_MAX_CONVOLUTION_WIDTH/HEIGHT = %d, %d\n", max[0], max[1]); + } + } -- cgit v1.2.3