Mainly for OpenGL tests in Java