Remove deleted event

This commit is contained in:
JeremyStar™ 2024-07-23 20:35:05 +02:00
parent 5909a948b5
commit 81535ad701
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 1 additions and 7 deletions

View file

@ -12,12 +12,10 @@ module sosengine.graphics.glfw.main {
// API access // API access
exports de.staropensource.sosengine.graphics.glfw; exports de.staropensource.sosengine.graphics.glfw;
exports de.staropensource.sosengine.graphics.glfw.classes; exports de.staropensource.sosengine.graphics.glfw.classes;
exports de.staropensource.sosengine.graphics.glfw.events;
exports de.staropensource.sosengine.graphics.glfw.exceptions; exports de.staropensource.sosengine.graphics.glfw.exceptions;
// Reflection access // Reflection access
opens de.staropensource.sosengine.graphics.glfw; opens de.staropensource.sosengine.graphics.glfw;
opens de.staropensource.sosengine.graphics.glfw.classes; opens de.staropensource.sosengine.graphics.glfw.classes;
opens de.staropensource.sosengine.graphics.glfw.events;
opens de.staropensource.sosengine.graphics.glfw.exceptions; opens de.staropensource.sosengine.graphics.glfw.exceptions;
} }

View file

@ -21,7 +21,6 @@ package de.staropensource.sosengine.graphics.opengl;
import de.staropensource.sosengine.base.annotations.EngineSubsystem; import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.annotations.EventListener; import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.data.info.EngineInformation; import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem; import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.logging.LoggerInstance; import de.staropensource.sosengine.base.logging.LoggerInstance;
@ -34,8 +33,8 @@ import de.staropensource.sosengine.graphics.classes.ApiInternalClass;
import de.staropensource.sosengine.graphics.classes.ApiMainClass; import de.staropensource.sosengine.graphics.classes.ApiMainClass;
import de.staropensource.sosengine.graphics.classes.ApiManagementClass; import de.staropensource.sosengine.graphics.classes.ApiManagementClass;
import de.staropensource.sosengine.graphics.events.GraphicsApiErrorEvent; import de.staropensource.sosengine.graphics.events.GraphicsApiErrorEvent;
import de.staropensource.sosengine.graphics.events.GraphicsErrorEvent;
import de.staropensource.sosengine.graphics.glfw.GlfwSubsystem; import de.staropensource.sosengine.graphics.glfw.GlfwSubsystem;
import de.staropensource.sosengine.graphics.glfw.events.GraphicsErrorEvent;
import lombok.Getter; import lombok.Getter;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.lwjgl.system.MemoryUtil; import org.lwjgl.system.MemoryUtil;
@ -122,9 +121,6 @@ public final class OpenGlSubsystem implements ApiMainClass {
/** {@inheritDoc} */ /** {@inheritDoc} */
@Override @Override
public void initializeSubsystem() { public void initializeSubsystem() {
// Precompute event listeners
EventHelper.precomputeEventListeners(GraphicsErrorEvent.class);
// Register Graphics API // Register Graphics API
GraphicsSubsystem.getInstance().registerGraphicsApi(this); GraphicsSubsystem.getInstance().registerGraphicsApi(this);
} }