From: Andre Maasikas Date: Fri, 10 Sep 2010 11:41:33 +0000 (+0300) Subject: r600: set correct initial point_minmax values X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78109952d47046bfb8d179f32493daa1b5e98615;p=mesa.git r600: set correct initial point_minmax values --- 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.