Skip to content

Commit

Permalink
emscripten fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kfprimm committed Nov 26, 2023
1 parent 0eee0b5 commit 99cb595
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/bb/runtime.html/runtime.html.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
#include <bb/graphics.gl/graphics.gl.h>
#include <bb/blitz3d.gl/blitz3d.gl.h>

class Canvas : public GLDefaultCanvas{
class Canvas : public GLCanvas{
public:
Canvas( ContextResources *res,int mode,int flags ):GLDefaultCanvas( res,0,mode,flags){
Canvas( ContextResources *res,int mode,int flags ):GLCanvas( res,flags ){
setFramebuffer( 0,mode );
}

int getWidth()const{
Expand Down

0 comments on commit 99cb595

Please sign in to comment.