[Mesa-dev] [PATCH 1/2] mesa: check samples > 0 for glTex*Multisample

2015-08-17 Thread Timothy Arceri
The GL 4.5 spec says its an GL_INVALID_VALUE error if samples equals 0 for glTexImage*Multisample and an GL_INVALID_VALUE error if samples < 1 for glTexStorage*Multisample. The spec says its undefined what happens if glTexImage*Multisample is passed a samples value < 0 but we currently already pro

Re: [Mesa-dev] [PATCH 1/2] mesa: check samples > 0 for glTex*Multisample

2015-08-17 Thread Anuj Phogat
On Mon, Aug 17, 2015 at 4:53 AM, Timothy Arceri wrote: > The GL 4.5 spec says its an GL_INVALID_VALUE error if samples equals 0 for > glTexImage*Multisample and an GL_INVALID_VALUE error if samples < 1 for > glTexStorage*Multisample. > > The spec says its undefined what happens if glTexImage*Multi