public static void Reset(GL gl) { GLUtils.currentHardwareTextureID = -1; GLUtils.currentSourceBlendMode = -1; GLUtils.currentDestinationBlendMode = -1; GLUtils.DisableBlend(gl); GLUtils.DisableCulling(gl); GLUtils.DisableTextures(gl); GLUtils.DisableTexCoordArray(gl); GLUtils.DisableTexColorArray(gl); GLUtils.DisableVertexArray(gl); GLUtils.red = -1; GLUtils.green = -1; GLUtils.blue = -1; GLUtils.alpha = -1; }
public static void SetClearColor(GL gl10, LColor c) { GLUtils.SetColor(gl10, c.r, c.g, c.b, c.a); }