|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2009-2022 jMonkeyEngine
|
|
|
|
|
|
+ * Copyright (c) 2009-2023 jMonkeyEngine
|
|
* All rights reserved.
|
|
* All rights reserved.
|
|
*
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* Redistribution and use in source and binary forms, with or without
|
|
@@ -91,6 +91,16 @@ public abstract class LwjglContext implements JmeContext {
|
|
protected LwjglPlatform clPlatform;
|
|
protected LwjglPlatform clPlatform;
|
|
protected com.jme3.opencl.lwjgl.LwjglContext clContext;
|
|
protected com.jme3.opencl.lwjgl.LwjglContext clContext;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Accesses the listener that receives events related to this context.
|
|
|
|
+ *
|
|
|
|
+ * @return the pre-existing instance
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public SystemListener getSystemListener() {
|
|
|
|
+ return listener;
|
|
|
|
+ }
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public void setSystemListener(SystemListener listener) {
|
|
public void setSystemListener(SystemListener listener) {
|
|
this.listener = listener;
|
|
this.listener = listener;
|