From 78109952d47046bfb8d179f32493daa1b5e98615 Mon Sep 17 00:00:00 2001 From: Andre Maasikas Date: Fri, 10 Sep 2010 14:41:33 +0300 Subject: [PATCH] r600: set correct initial point_minmax values --- src/mesa/drivers/dri/r600/r600_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c index b0a79c7b598..27731ffaf63 100644 --- a/src/mesa/drivers/dri/r600/r600_context.c +++ b/src/mesa/drivers/dri/r600/r600_context.c @@ -43,6 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "main/extensions.h" #include "main/bufferobj.h" #include "main/texobj.h" +#include "main/points.h" #include "swrast/swrast.h" #include "swrast_setup/swrast_setup.h" @@ -459,6 +460,9 @@ GLboolean r600CreateContext(gl_api api, r600InitConstValues(ctx, screen); + /* reinit, it depends on consts above */ + _mesa_init_point(ctx); + _mesa_set_mvp_with_dp4( ctx, GL_TRUE ); /* Initialize the software rasterizer and helper modules. -- 2.30.2