aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sokol_app.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 71a20e9b..f305480a 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -5622,7 +5622,7 @@ _SOKOL_PRIVATE void _sapp_emsc_update_cursor(sapp_mouse_cursor cursor, bool show
sapp_js_set_cursor((int)cursor, shown ? 1 : 0, custom_cursor ? 1 : 0);
}
-EM_JS(void, sapp_js_make_custom_mouse_cursor, (int cursor_slot_idx, int width, int height, const uint8_t* pixels_ptr, int hotspot_x, int hotspot_y), {
+EM_JS(void, sapp_js_make_custom_mouse_cursor, (int cursor_slot_idx, int width, int height, const void* pixels_ptr, int hotspot_x, int hotspot_y), {
// encode the cursor pixels into a BMP which then is encoded into an 'object url'
const bmp_hdr_size = 14;
const dib_hdr_size = 124; // common values are 56, I saw 124 for the rgba32-1.bmp file of the test suite included in firefox, and 108 from wikipedia example 2 (transparent)