Skip to content

Commit 51efda4

Browse files
committed
dead occulus code
1 parent 6d16ff9 commit 51efda4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/org/myrobotlab/oculus/OculusDisplay.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,12 @@ protected final long setupDisplay() {
225225
// Let LWJGL know to use this current context.
226226
GL.createCapabilities();
227227
// Setup the framebuffer resize callback.
228-
glfwSetFramebufferSizeCallback(window, (framebufferSizeCallback = new GLFWFramebufferSizeCallback() {
229-
@Override
230-
public void invoke(long window, int width, int height) {
231-
onResize(width, height);
232-
}
233-
}));
228+
// glfwSetFramebufferSizeCallback(window, (framebufferSizeCallback = new GLFWFramebufferSizeCallback() {
229+
// @Override
230+
// public void invoke(long window, int width, int height) {
231+
// onResize(width, height);
232+
// }
233+
// }));
234234
// TODO: set location and vsync?! Do we need to update these for lwjgl3?
235235
// Display.setLocation(left, right);
236236
// TODO: vsync enabled?
@@ -418,7 +418,7 @@ protected void initGl() {
418418
// Initialize GLFW.
419419
glfwInit();
420420
// Setup an error callback to print GLFW errors to the console.
421-
glfwSetErrorCallback(errorCallback = GLFWErrorCallback.createPrint(System.err));
421+
// glfwSetErrorCallback(errorCallback = GLFWErrorCallback.createPrint(System.err));
422422

423423
// contextAttributes = new ContextAttribs(4,
424424
// 1).withProfileCore(true).withDebug(true);

0 commit comments

Comments
 (0)