MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getBounds

Method getBounds

src/main/java/field/graphics/Window.java:578–587  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

576 GraphicsContext.getContext().stateTracker.blendState.set(
577 new int[]{GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA});
578
579 Log.log("graphics.trace", () -> "internalScene is ...\n" + scene.debugPrintScene());
580
581 scene.updateAll();
582 } finally {
583 GraphicsContext.exitContext(graphicsContext);
584 }
585 }
586
587 public GraphicsContext getGraphicsContext() {
588 if (graphicsContext == null)
589 System.err.println("WARNING: no graphics context for window");
590 return graphicsContext;

Callers 5

generateMarkdownMethod · 0.95
OpenMethod · 0.80
MarkingMenusMethod · 0.80
downMethod · 0.80
boundsMethod · 0.80

Calls 4

glfwGetWindowXMethod · 0.95
glfwGetWindowYMethod · 0.95
glfwGetWindowWidthMethod · 0.95
glfwGetWindowHeightMethod · 0.95

Tested by

no test coverage detected