mesa: Add skeleton implementation of glGetInternalformativ
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 30 Nov 2012 20:41:50 +0000 (12:41 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 16 Jan 2013 05:34:45 +0000 (21:34 -0800)
commit1b468d043e538a6302ad77a408ad123c58dc0e83
treeedb190ae4c8f67423eb9ec01fd9d994e81d398d0
parent780c2cb42bc7bff9f89a998effb732bdcd72630b
mesa: Add skeleton implementation of glGetInternalformativ

This is for the GL_ARB_internalformat_query extension and GLES 3.0.

v2: Generate GL_INVALID_OPERATION if the extension is not supported.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/formatquery.c [new file with mode: 0644]
src/mesa/main/formatquery.h [new file with mode: 0644]
src/mesa/sources.mak