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

Method check

src/main/java/trace/graphics/GL.java:23–26  ·  view source on GitHub ↗
(Runnable o)

Source from the content-addressed store, hash-verified

21 }
22
23 private static void check(Runnable o) {
24 check(GraphicsContext.getContext() != null);
25 o.run();
26 }
27
28 private static <T> T check2(Callable<T> o) {
29 check(GraphicsContext.getContext() != null);

Callers 15

glEnableMethod · 0.95
check2Method · 0.95
glDisableMethod · 0.95
glAccumMethod · 0.95
glAlphaFuncMethod · 0.95
glArrayElementMethod · 0.95
glBeginMethod · 0.95
glBindTextureMethod · 0.95
glBitmapMethod · 0.95
glBlendFuncMethod · 0.95
glCallListMethod · 0.95
glCallListsMethod · 0.95

Calls 2

getContextMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected