checkstyle and copyright
This commit is contained in:
@@ -1182,12 +1182,14 @@ public class GpuPlugin extends Plugin implements DrawCallbacks
|
||||
glDpiAwareViewport(0, 0, canvasWidth, canvasHeight);
|
||||
}
|
||||
|
||||
if (client.isStretchedEnabled() && config.uiScalingMode() == UIScalingMode.CATMULL_ROM) {
|
||||
if (client.isStretchedEnabled() && config.uiScalingMode() == UIScalingMode.CATMULL_ROM)
|
||||
{
|
||||
// Use the texture bound in the first pass
|
||||
gl.glUseProgram(glUiBicubicProgram);
|
||||
gl.glUniform1i(uniTexBicubic, 0);
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
// Use the texture bound in the first pass
|
||||
gl.glUseProgram(glUiProgram);
|
||||
gl.glUniform1i(uniTex, 0);
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 2019 logarrhytmic <https://github.com/logarrhythmic>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Adam <Adam@sigterm.info>
|
||||
* Copyright (c) 2019 logarrhytmic <https://github.com/logarrhythmic>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
||||
Reference in New Issue
Block a user