Compare commits
2 Commits
722bc791da
...
0d0cf7ed7f
Author | SHA1 | Date |
---|---|---|
camh | 0d0cf7ed7f | |
camh | 11687693ab |
Binary file not shown.
Binary file not shown.
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue