I have tried this
from
pyglet.gl import *
glEnable(GL_BLEND)
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
and then draw an image that is partly transparent in .png
but the transparent part appears red.
also I have tried
import pyglet
pyglet.gl.glClearColor(0, 0, 1, 1)
and then drew an image that is partly transparent in .gif
and the transparent part appears like partly pink...
any ideas as to what I am doing wrong?
do you need to see the whole program I am talking about?