mirror of
https://github.com/harfang3d/harfang3d.git
synced 2024-06-17 04:23:02 +00:00
fix canvas selector
no more "canvas" only "#canvas" works with recent emsdk
This commit is contained in:
parent
870533037a
commit
570f65517b
|
@ -110,7 +110,7 @@ Window * NewFullscreenWindow(const char *title, const Monitor *monitor, int mode
|
|||
|
||||
void *GetDisplay() { return nullptr; }
|
||||
|
||||
static const char *canvas_name = "canvas";
|
||||
static const char *canvas_name = "#canvas";
|
||||
void *GetWindowHandle(const Window *w) {
|
||||
return (void *)canvas_name;
|
||||
// return reinterpret_cast<void *>(w->w);
|
||||
|
|
Loading…
Reference in New Issue
Block a user