test/testgl.c
changeset 243 cf4944faad96
parent 234 1af4be6a73cd
child 320 66f815c147ed
     1.1 --- a/test/testgl.c	Thu Nov 22 04:55:38 2001 +0000
     1.2 +++ b/test/testgl.c	Thu Nov 22 06:34:25 2001 +0000
     1.3 @@ -118,6 +118,10 @@
     1.4  	glDisable(GL_CULL_FACE);
     1.5  	glEnable(GL_TEXTURE_2D);
     1.6  
     1.7 +	/* This allows alpha blending of 2D textures with the scene */
     1.8 +	glEnable(GL_BLEND);
     1.9 +	glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    1.10 +
    1.11  	glViewport(0, 0, screen->w, screen->h);
    1.12  
    1.13  	glMatrixMode(GL_PROJECTION);