Package cc.plural.ecs.renderer

Examples of cc.plural.ecs.renderer.Platform


        provider = new Provider("LWJGL", Sys.getVersion());

        int platformID = LWJGLUtil.getPlatform();
        switch (platformID) {
            case LWJGLUtil.PLATFORM_LINUX:
                platform = new Platform(Platform.LINUX, Platform.LINUX_NAME);
                break;
            case LWJGLUtil.PLATFORM_MACOSX:
                platform = new Platform(Platform.OSX, Platform.OSX_NAME);
                break;
            case LWJGLUtil.PLATFORM_WINDOWS:
                platform = new Platform(Platform.WINDOWS, Platform.WINDOWS_NAME);
                break;
        }

        glVendor = new GLVendor(GL11.glGetString(GL11.GL_VENDOR));
        glRenderer = new GLRenderer(GL11.glGetString(GL11.GL_RENDERER));
View Full Code Here

TOP

Related Classes of cc.plural.ecs.renderer.Platform

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.