forked from StarOpenSource/Engine
Remove unecessary class OpenGlMonitor
This commit is contained in:
parent
d4c5b982df
commit
3503d10c44
3 changed files with 3 additions and 41 deletions
|
@ -20,15 +20,12 @@
|
|||
package de.staropensource.sosengine.graphics.opengl;
|
||||
|
||||
import de.staropensource.sosengine.graphics.classes.Monitor;
|
||||
import de.staropensource.sosengine.graphics.classes.api.ApiInternalClass;
|
||||
import de.staropensource.sosengine.graphics.classes.Window;
|
||||
import de.staropensource.sosengine.graphics.glfw.classes.GlfwInternalClass;
|
||||
import de.staropensource.sosengine.graphics.opengl.classes.OpenGlMonitor;
|
||||
import de.staropensource.sosengine.graphics.glfw.classes.GlfwMonitor;
|
||||
import de.staropensource.sosengine.graphics.opengl.classes.OpenGlWindow;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Set;
|
||||
|
||||
public final class OpenGlInternalApi extends GlfwInternalClass {
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
|
@ -40,6 +37,6 @@ public final class OpenGlInternalApi extends GlfwInternalClass {
|
|||
/** {@inheritDoc} */
|
||||
@Override
|
||||
public @NotNull Class<? extends Monitor> getMonitorClass() {
|
||||
return OpenGlMonitor.class;
|
||||
return GlfwMonitor.class;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
/*
|
||||
* STAROPENSOURCE ENGINE SOURCE FILE
|
||||
* Copyright (c) 2024 The StarOpenSource Engine Contributors
|
||||
* Licensed under the GNU Affero General Public License v3
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package de.staropensource.sosengine.graphics.opengl.classes;
|
||||
|
||||
import de.staropensource.sosengine.graphics.exceptions.InvalidMonitorException;
|
||||
import de.staropensource.sosengine.graphics.glfw.classes.GlfwMonitor;
|
||||
|
||||
public class OpenGlMonitor extends GlfwMonitor {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @param identifier glfw monitor pointer
|
||||
* @since v1-alpha2
|
||||
*/
|
||||
public OpenGlMonitor(long identifier) throws InvalidMonitorException {
|
||||
super(identifier);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue