[Piglit] [PATCH v2 03/13] Add glewInit() calls to GLX_ARB_create_context tests.

Chad Versace chad.versace at linux.intel.com
Tue Mar 13 11:05:52 PDT 2012


On 03/12/2012 02:41 PM, Paul Berry wrote:
> Previously these tests didn't initialize GLEW, presumably because they
> only use GL 1.0 functions, and those functions bypass GLEW.  But once
> we switch to using piglit-dispatch instead of GLEW, we will need to
> initialize it in order for any GL functions to work.  This patch adds
> a call to glewInit() in the place where a call to
> piglit_dispatch_default_init() will eventually be needed.
> ---
>  .../glx_arb_create_context/default-major-version.c |    1 +
>  .../glx_arb_create_context/default-minor-version.c |    1 +
>  2 files changed, 2 insertions(+), 0 deletions(-)

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the Piglit mailing list