mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
main: remove MAX_VIEWPORT_WIDTH and MAX_VIEWPORT_HEIGHT constants
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
aa849d97a0
commit
add57b3fa8
2 changed files with 2 additions and 7 deletions
|
|
@ -132,11 +132,6 @@
|
|||
*/
|
||||
#define MAX_TEXTURE_UNITS ((MAX_TEXTURE_COORD_UNITS > MAX_TEXTURE_IMAGE_UNITS) ? MAX_TEXTURE_COORD_UNITS : MAX_TEXTURE_IMAGE_UNITS)
|
||||
|
||||
|
||||
/** Maximum viewport size */
|
||||
#define MAX_VIEWPORT_WIDTH 16384
|
||||
#define MAX_VIEWPORT_HEIGHT 16384
|
||||
|
||||
/** Maximun number of viewports supported with ARB_viewport_array */
|
||||
#define MAX_VIEWPORTS 16
|
||||
|
||||
|
|
|
|||
|
|
@ -582,8 +582,8 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
|
|||
consts->MaxLights = MAX_LIGHTS;
|
||||
consts->MaxShininess = 128.0;
|
||||
consts->MaxSpotExponent = 128.0;
|
||||
consts->MaxViewportWidth = MAX_VIEWPORT_WIDTH;
|
||||
consts->MaxViewportHeight = MAX_VIEWPORT_HEIGHT;
|
||||
consts->MaxViewportWidth = 16384;
|
||||
consts->MaxViewportHeight = 16384;
|
||||
consts->MinMapBufferAlignment = 64;
|
||||
|
||||
/* Driver must override these values if ARB_viewport_array is supported. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue