PDA

View Full Version : GL_ONE not working



woleksy
02-17-2004, 09:53 AM
so I am blending in my program and have the line of code
glBlendFunc(GL_SRC_ALPHA, GL_0NE);

for some reason I am getting the error

: error C2065: 'GL_0NE' : undeclared identifier

Now it is a valid comand and I don't think I am leaving anything out, does anyone have any idea why this might be giving me trouble

W

brcain
02-17-2004, 12:56 PM
Did you by chance type GL_0NE (zero-N-E) rather than GL_ONE?