r600: set correct initial point_minmax values
authorAndre Maasikas <amaasikas@gmail.com>
Fri, 10 Sep 2010 11:41:33 +0000 (14:41 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Fri, 10 Sep 2010 11:55:10 +0000 (14:55 +0300)
src/mesa/drivers/dri/r600/r600_context.c

index b0a79c7b5987ceb6c248b2ab931b4382803468dc..27731ffaf63b64362b1d1c86ff766411be838806 100644 (file)
@@ -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.