]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - world.h
moved CHECKGLERROR to detect errors *after* rather than before uploading a texture
[xonotic/darkplaces.git] / world.h
diff --git a/world.h b/world.h
index 7de90a32ba973694ae44bebc811bcd41e0390cf2..55838dca58f57943901937f6837f84ae78c52da0 100644 (file)
--- a/world.h
+++ b/world.h
@@ -96,3 +96,7 @@ RecursiveHullCheckTraceInfo_t;
 // LordHavoc: FIXME: this is not thread safe, if threading matters here, pass
 // this as a struct to RecursiveHullCheck, RecursiveHullCheck_Impact, etc...
 extern RecursiveHullCheckTraceInfo_t RecursiveHullCheckInfo;
+
+// optimized variant of RecursiveHullCheck that only returns success/failure
+// FIXME: broken, fix it
+//extern qboolean SV_TestLine (hull_t *hull, int num, vec3_t p1, vec3_t p2);