Category : webgl

I am not sure what this means, This is my drawing code to simplify things, i’m not sure what I’m doing wrong here. Everything works fine (program starts up, expected behaviour), but the screen is completely black and won’t render anything. If more code is needed, I can update the post. //Prepare SDL_GL_MakeCurrent(win, gContext); DestR ..

Read more

The long version I am running a QML application in the browser using WebGL as a platform. Everything is working fine until I try to integrate the QtVirtualKeyboard to fill in some textfields and editable ComboBox’es. When running the project in the browser, the first message received is: This plugin does not support dynamic OpenGL ..

Read more

I tried to use webgl ( via emscript ) in c++, but browser throws undefined reference void getSurfaceForCanvas(std::string id,int width,int height){ EmscriptenWebGLContextAttributes attrs; emscripten_webgl_init_context_attributes(&attrs); attrs.alpha = true; attrs.premultipliedAlpha = true; attrs.majorVersion = 1; attrs.enableExtensionsByDefault = true; attrs.explicitSwapControl = 0; attrs.depth = 1; attrs.stencil = 1; attrs.antialias = 1; attrs.minorVersion = 0; EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context = emscripten_webgl_create_context(id.c_str(), ..

Read more