MCPcopy Create free account
hub / github.com/defold/defold / LogVertexWarning

Function LogVertexWarning

engine/render/src/render/debug_renderer.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 static void LogVertexWarning(HRenderContext context)
134 {
135 static bool has_warned = false;
136 if (!has_warned)
137 {
138 dmLogWarning("Out of debug vertex data (%u). Increase graphics.max_debug_vertices to avoid this warning.", context->m_DebugRenderer.m_MaxVertexCount);
139 has_warned = true;
140 }
141 }
142
143 void Square2d(HRenderContext context, float x0, float y0, float x1, float y1, Vector4 color)
144 {

Callers 3

Square2dFunction · 0.85
Triangle3dFunction · 0.85
Line3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected