Optimize cursor rendering
This commit is contained in:
@@ -28,7 +28,7 @@ void _BeginProfileScope(const char *name, int len) {
|
||||
get_time_in_micros() // timestamp in microseconds -- start of your timing block
|
||||
);
|
||||
}
|
||||
#define BeginProfileScope(name) _BeginProfileScope(name, sizeof(name) - 1)
|
||||
#define BeginProfileScope(name) _BeginProfileScope(#name, sizeof(#name) - 1)
|
||||
|
||||
void EndProfileScope() {
|
||||
spall_buffer_end(&spall_ctx, &spall_buffer,
|
||||
|
||||
Reference in New Issue
Block a user