Example usage for com.badlogic.gdx.graphics GL10 GL_RENDERER

List of usage examples for com.badlogic.gdx.graphics GL10 GL_RENDERER

Introduction

In this page you can find the example usage for com.badlogic.gdx.graphics GL10 GL_RENDERER.

Prototype

int GL_RENDERER

To view the source code for com.badlogic.gdx.graphics GL10 GL_RENDERER.

Click Source Link

Usage

From source file:com.explatcreations.sft.hardware.HardwareInfo.java

License:Open Source License

private String getGpuInfo() {
    final String gpu = Gdx.gl.glGetString(GL10.GL_RENDERER);
    final String glVersion = Gdx.gl.glGetString(GL10.GL_VERSION);
    return gpu + ", GL version " + glVersion;
}