Search in sources :

Example 1 with ShaderManagerLwjgl

use of org.terasology.rendering.ShaderManagerLwjgl in project Terasology by MovingBlocks.

the class LwjglGraphics method initOpenGL.

private void initOpenGL(Context currentContext) {
    logger.info("Initializing OpenGL");
    checkOpenGL();
    glViewport(0, 0, Display.getWidth(), Display.getHeight());
    initOpenGLParams();
    currentContext.put(ShaderManager.class, new ShaderManagerLwjgl());
}
Also used : ShaderManagerLwjgl(org.terasology.rendering.ShaderManagerLwjgl)

Aggregations

ShaderManagerLwjgl (org.terasology.rendering.ShaderManagerLwjgl)1