X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Ftrivial%2Ftri-blend-sub.c;h=cc1aeaf4a484304b7a00fe7dc161fb407058cda5;hb=41482a6461fadc0113f39f0e81f9fb91248faa8a;hp=d207791108c2998825bebe61378f3658422bd7b8;hpb=3a3801c1431203fc4dca24d56577995ae2e78956;p=mesa.git diff --git a/progs/trivial/tri-blend-sub.c b/progs/trivial/tri-blend-sub.c index d207791108c..cc1aeaf4a48 100644 --- a/progs/trivial/tri-blend-sub.c +++ b/progs/trivial/tri-blend-sub.c @@ -41,8 +41,9 @@ * to demonstrate the effect order has on alpha blending results. * Use the 't' key to toggle the order of drawing polygons. */ -#include #include +#include +#include static int leftFirst = GL_TRUE; @@ -136,6 +137,7 @@ int main(int argc, char** argv) glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB); glutInitWindowSize (200, 200); glutCreateWindow (argv[0]); + glewInit(); init(); glutReshapeFunc (reshape); glutKeyboardFunc (keyboard);