diff options
-rw-r--r-- | imageblit.c | 8 | ||||
-rw-r--r-- | main.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/imageblit.c b/imageblit.c index e83e43e..8537d8a 100644 --- a/imageblit.c +++ b/imageblit.c @@ -16,12 +16,12 @@ void imageblit_init(void) BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_SURFACE, 1); OUT_RING(NvCtxSurf2D); - /*BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_CLIP_RECTANGLE, 1); - OUT_RING(NvClipRect);*/ + BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_CLIP_RECTANGLE, 1); + OUT_RING(NvClipRect); BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_PATTERN, 1); OUT_RING(NvImagePattern); - /*BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_ROP, 1); - OUT_RING(NvRasterOp);*/ + BEGIN_RING(NvSubImageBlit, NV04_IMAGE_BLIT_ROP, 1); + OUT_RING(NvRasterOp); FIRE_RING(); } @@ -37,8 +37,8 @@ int main(int argc, char **argv) context_surface_2d_init(); image_pattern_init(); - /*clip_rectangle_init(); - raster_op_init();*/ + clip_rectangle_init(); + raster_op_init(); imageblit_init(); imageblit_copy(viewport_x,viewport_y, |