panning
[gba_blender] / src / xgl.c
index 2632473..deccdea 100644 (file)
--- a/src/xgl.c
+++ b/src/xgl.c
@@ -281,7 +281,14 @@ static void draw_ptlines(int prim, const struct xvertex *varr, int vcount)
                vcount -= prim;
 
                /* line clipping */
+#ifndef ALT_LCLIP
                clip_line((int*)&xv[0].x, (int*)&xv[0].y, (int*)&xv[1].x, (int*)&xv[1].y, vp[0], vp[1], vp[2] - 1, vp[3] - 1);
+#endif
                draw_line(xv[0].x, xv[0].y, xv[1].x, xv[1].y, varr[-2].cidx);
        }
 }
+
+void xgl_xyzzy(void)
+{
+       mat[mtop][12] = mat[mtop][13] = 0;
+}