Removed an extra header
import org.terasology.config.Config;
import org.terasology.config.RenderingConfig;
import org.terasology.context.Context;
-import org.terasology.rendering.ShaderManager;
import org.terasology.rendering.opengl.AbstractFBOsManager;
import static org.terasology.rendering.opengl.ScalingFactors.FULL_SCALE;
Context context;
public DisplayResolutionDependentFBOs(Context context) {
+ this.context = context;
+
renderingConfig = context.get(Config.class).getRendering();
screenGrabber = context.get(ScreenGrabber.class);
updateFullScale();
generateDefaultFBOs();
-
- this.context = context;
}
private void generateDefaultFBOs() {
