X-Git-Url: https://git.cworth.org/git?p=apitrace-tests;a=blobdiff_plain;f=apps%2Fgl%2Fvarray.c;h=6632fac1e262c0ce17b08cb30d5da405d388561b;hp=edc09fe8c1fad81a3a16e8946bb29a302e34c155;hb=7acb60aa5e6b9c2d905c64a1416d222c83bd9e79;hpb=7949d2e03c697fc73f3d2ec882c08b487d1422bd diff --git a/apps/gl/varray.c b/apps/gl/varray.c index edc09fe..6632fac 100644 --- a/apps/gl/varray.c +++ b/apps/gl/varray.c @@ -66,7 +66,7 @@ enum DerefMethod { }; static enum SetupMethod setupMethod = POINTER; -static enum DerefMethod derefMethod = DRAWARRAYS; +static enum DerefMethod derefMethod = DRAWELEMENTS; static int win; @@ -175,6 +175,7 @@ static void reshape(int w, int h) int main(int argc, char** argv) { + parseArgs(argc, argv); glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutInitWindowSize(350, 350);