Java Examples for org.lwjgl.opengl.GL13.GL_MULTISAMPLE

The following java examples will help you to understand the usage of org.lwjgl.opengl.GL13.GL_MULTISAMPLE. These source code samples are taken from different open source projects.

Example 1
Project: Youtube-Hacked-Client-1.8-master  File: RenderUtil.java View source code
public static void setupLineSmooth() {
    glEnable(GL_BLEND);
    glDisable(GL_LIGHTING);
    glDisable(GL_DEPTH_TEST);
    glEnable(GL_LINE_SMOOTH);
    glDisable(GL_TEXTURE_2D);
    glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    glEnable(GL_MULTISAMPLE);
    glEnable(GL_SAMPLE_ALPHA_TO_COVERAGE);
    glShadeModel(GL_SMOOTH);
}