You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw'SDL threads cannot be supported in the web platform because they assume shared state. See emscripten_create_worker etc. for a message-passing concurrency model that does let you run code in another thread.'
SDL_WM_SetIcon: function(){/* This function would set the application window icon surface, which doesn't apply for web canvases, so a no-op. */},
3742
+
SDL_WM_SetIcon: function(icon,mask){/* This function would set the application window icon surface, which doesn't apply for web canvases, so a no-op. */},
Copy file name to clipboardExpand all lines: src/library_webgl.js
+12-4Lines changed: 12 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3710,10 +3710,18 @@ var LibraryGL = {
3710
3710
3711
3711
#if !LEGACY_GL_EMULATION
3712
3712
3713
-
glVertexPointer: function(){throw'Legacy GL function (glVertexPointer) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';},
3714
-
glMatrixMode: function(){throw'Legacy GL function (glMatrixMode) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';},
3715
-
glBegin: function(){throw'Legacy GL function (glBegin) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';},
3716
-
glLoadIdentity: function(){throw'Legacy GL function (glLoadIdentity) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';},
3713
+
glVertexPointer: function(size,type,stride,ptr){
3714
+
throw'Legacy GL function (glVertexPointer) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';
3715
+
},
3716
+
glMatrixMode: function(){
3717
+
throw'Legacy GL function (glMatrixMode) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';
3718
+
},
3719
+
glBegin: function(){
3720
+
throw'Legacy GL function (glBegin) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';
3721
+
},
3722
+
glLoadIdentity: function(){
3723
+
throw'Legacy GL function (glLoadIdentity) called. If you want legacy GL emulation, you need to compile with -sLEGACY_GL_EMULATION to enable legacy GL emulation.';
0 commit comments