diff options
author | Jordan Justen <[email protected]> | 2012-12-16 16:53:02 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-12-17 08:55:41 -0800 |
commit | 6cf3034ba72bff55841b1e3338fbc541cd04efdc (patch) | |
tree | d838766d8310e2c6ade3a96b9299f8e2673fe43b /src/mesa/drivers/osmesa/osmesa.c | |
parent | 3d14b25030dc2ad8bc10400d686250979fbee70d (diff) |
mesa osmesa/x11: fix build error introduced in 4bea4cb9
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=58380
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/osmesa/osmesa.c')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 95756d5d574..5965d7d30e6 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -789,13 +789,13 @@ OSMesaCreateContextExt( GLenum format, GLint depthBits, GLint stencilBits, swrast = SWRAST_CONTEXT( ctx ); swrast->choose_line = osmesa_choose_line; swrast->choose_triangle = osmesa_choose_triangle; - } - _mesa_compute_version(ctx); + _mesa_compute_version(ctx); - /* Exec table initialization requires the version to be computed */ - _mesa_initialize_exec_table(ctx); - _mesa_initialize_vbo_vtxfmt(ctx); + /* Exec table initialization requires the version to be computed */ + _mesa_initialize_exec_table(ctx); + _mesa_initialize_vbo_vtxfmt(ctx); + } } return osmesa; } |