i965: Validate API and version in brwCreateContext
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 7 Aug 2012 19:43:17 +0000 (12:43 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Aug 2012 00:38:55 +0000 (17:38 -0700)
commitd60692601388b5448fb0ed4eb894103293b2f074
tree67135e2e4622eaf36530123b64644fcada1591b7
parentdb273724c9484d513f5caa34729475d2873d9f7b
i965: Validate API and version in brwCreateContext

v2: Use base-10 for versions like gl_context::Version.  Suggested by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/intel/intel_screen.c