gammaBox.setSelected(source.isGammaCorrection());
this.renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); this.renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
ARBDebugOutput.glDebugMessageCallbackARB(new ARBDebugOutputCallback(new LwjglGLDebugOutputHandler())); renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
if (settings.isGammaCorrection()) { glfwWindowHint(GLFW_SRGB_CAPABLE, GLFW_TRUE);
if (settings.isGammaCorrection()) { glfwWindowHint(GLFW_SRGB_CAPABLE, GLFW_TRUE);
this.renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); this.renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
renderer.setMainFrameBufferSrgb(settings.isGammaCorrection()); renderer.setLinearizeSrgbImages(settings.isGammaCorrection());
gammaEnabled = app.getContext().getSettings().isGammaCorrection();
if (settings.isGammaCorrection()) { glfwWindowHint(GLFW_SRGB_CAPABLE, GLFW_TRUE);