]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progsvm.h
r_font_postprocess_* cvars to render fonts similar to mplayer subtitles with a blurre...
[xonotic/darkplaces.git] / progsvm.h
index 64df515519b115a8f031c16a690d49b905a7ca15..6aa6b01a779f10dc7576d76f53716c56be5aa6c0 100644 (file)
--- a/progsvm.h
+++ b/progsvm.h
@@ -552,9 +552,15 @@ void VM_Cmd_Reset(void);
 
 void PRVM_Init (void);
 
+#ifdef PROFILING
 void MVM_ExecuteProgram (func_t fnum, const char *errormessage);
 void CLVM_ExecuteProgram (func_t fnum, const char *errormessage);
 void SVVM_ExecuteProgram (func_t fnum, const char *errormessage);
+#else
+#define MVM_ExecuteProgram SVVM_ExecuteProgram
+#define CLVM_ExecuteProgram SVVM_ExecuteProgram
+void SVVM_ExecuteProgram (func_t fnum, const char *errormessage);
+#endif
 #define PRVM_ExecuteProgram prog->ExecuteProgram
 
 #define PRVM_Alloc(buffersize) _PRVM_Alloc(buffersize, __FILE__, __LINE__)