MCPcopy Index your code
hub / github.com/benfry/processing4 / showWarning

Method showWarning

core/src/processing/core/PGraphics.java:8250–8258  ·  view source on GitHub ↗

Show a renderer error, and keep track of it so that it's only shown once. @param msg the error message (which will be stored for later comparison)

(String msg)

Source from the content-addressed store, hash-verified

8248 * @param msg the error message (which will be stored for later comparison)
8249 */
8250 static public void showWarning(String msg) { // ignore
8251 if (warnings == null) {
8252 warnings = new HashMap<>();
8253 }
8254 if (!warnings.containsKey(msg)) {
8255 System.err.println(msg);
8256 warnings.put(msg, new Object());
8257 }
8258 }
8259
8260
8261 /**

Callers 15

PShaderMethod · 0.95
setMethod · 0.95
consumeUniformsMethod · 0.95
checkPolyTypeMethod · 0.95
beginDrawMethod · 0.95
hintMethod · 0.95
beginContourMethod · 0.95
endContourMethod · 0.95
vertexMethod · 0.95
attribImplMethod · 0.95
loadShapeMethod · 0.95
reportMethod · 0.95

Calls 3

formatMethod · 0.65
printlnMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected