Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Following this example code, I'm trying to use glGenFramebuffersEXT(), GL2.GL_FRAGMENT_SHADER_ARB, but I get these two types of highlighted errors wherever they are called:

The method glGenFramebuffersEXT(int, int[], int) is undefined for the type GL2

and

GL_FRAGMENT_SHADER_ARB cannot be resolved or is not a field.

Here are my following imports:

import java.awt.image.BufferedImage;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.media.opengl.GL;
import javax.media.opengl.GL2;

I have all the JOGL libraries within my build path, but does anyone possibly know or have a clue as to why I'm getting these errors?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.