[Mesa-dev] [PATCH] mesa: UseShaderProgramEXT and Uniform* shouldn't be allowed inside Begin/End

Brian Paul brian.e.paul at gmail.com
Wed Jun 1 06:20:14 PDT 2011


On Tue, May 31, 2011 at 7:23 AM, Marek Olšák <maraeo at gmail.com> wrote:
> I couldn't find this being required by the spec.
> ---
>  src/mesa/main/shaderapi.c |    2 ++
>  src/mesa/main/uniforms.c  |    4 ++++
>  2 files changed, 6 insertions(+), 0 deletions(-)
>

Reviewed-by: Brian Paul <brianp at vmware.com>

NVIDIA's driver generates GL_INVALID_OPERATION for glUniform between
glBegin/End, btw.

-Brian


More information about the mesa-dev mailing list