Search in sources :

Example 1 with LwjglCanvasRenderer

use of org.terasology.rendering.nui.internal.LwjglCanvasRenderer in project Terasology by MovingBlocks.

the class LwjglGraphics method postInitialise.

@Override
public void postInitialise(Context rootContext) {
    context.put(RenderingSubsystemFactory.class, new LwjglRenderingSubsystemFactory(bufferPool));
    initDisplay();
    initOpenGL(context);
    context.put(CanvasRenderer.class, new LwjglCanvasRenderer(context));
}
Also used : LwjglCanvasRenderer(org.terasology.rendering.nui.internal.LwjglCanvasRenderer)

Aggregations

LwjglCanvasRenderer (org.terasology.rendering.nui.internal.LwjglCanvasRenderer)1