mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 05:48:07 +02:00
query/print max convolution filter size
This commit is contained in:
parent
dfbb84ea2c
commit
f2afdcae9a
1 changed files with 7 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue