Compare commits

...

2 Commits

3 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1137,7 +1137,7 @@ NK_API void nk_quickdraw_render(WindowPtr window, struct nk_context *ctx) {
#ifdef COMMAND_CACHING
writeSerialPortDebug(boutRefNum, "INCREMENT LAST CMD");
if (currentCalls <= lastCalls && lastCmd && lastCmd->next && lastCmd->next < ctx->memory.allocated) {
if (currentCalls < lastCalls && lastCmd && lastCmd->next && lastCmd->next < ctx->memory.allocated) {
writeSerialPortDebug(boutRefNum, "INCREMENT LAST CMD: IN CONDITIONAL");
@ -1155,7 +1155,7 @@ NK_API void nk_quickdraw_render(WindowPtr window, struct nk_context *ctx) {
memcpy(last, cmds, ctx->memory.allocated);
lastCalls = ctx->memory.calls;
lastCalls = currentCalls;
#ifdef PROFILING
PROFILE_END("memcpy commands");