commit b5f5dc9

Michael Forney  ·  2014-01-31 12:28:13 +0000 UTC
parent 7edb598
nouveau: Use definitions from rnndb headers
1 files changed,  +3, -1
+3, -1
 1@@ -483,7 +483,9 @@ void renderer_copy_rectangle(struct wld_renderer * base,
 2         return;
 3 
 4     nvc0_2d_inline(renderer->pushbuf, NV50_GRAPH_SERIALIZE, 0);
 5-    nvc0_2d_inline(renderer->pushbuf, NV50_2D_BLIT_CONTROL, 0);
 6+    nvc0_2d_inline(renderer->pushbuf, NV50_2D_BLIT_CONTROL,
 7+                   NV50_2D_BLIT_CONTROL_ORIGIN_CENTER
 8+                 | NV50_2D_BLIT_CONTROL_FILTER_POINT_SAMPLE);
 9     nvc0_2d(renderer->pushbuf, NV50_2D_BLIT_DST_X, 12,
10             dst_x, dst_y, width, height, 0, 1, 0, 1, 0, src_x, 0, src_y);
11