Skip to content

example-22-windows crashes creating a new window #209

Open
@baldurk

Description

On windows, nvidia, with profile set to 4.3 in config. When I hit c to create a new window it crashes:

Output:

..\..\..\src\renderer_gl.cpp(788): BGFX src API, type Error, id 1282, severity High, 'GL_INVALID_OPERATION error generated. Invalid VAO bound.'
..\..\..\src\renderer_gl.cpp(2907): BGFX CHECK glVertexAttribDivisor(loc, 0); GL error 0x502: GL_INVALID_OPERATION

Callstack:

>   example-22-windowsDebug.exe!bgfx::CallbackStub::fatal(bgfx::Fatal::Enum _code, const char * _str)  Line 83  C++
    example-22-windowsDebug.exe!bgfx::fatal(bgfx::Fatal::Enum _code, const char * _format, ...)  Line 264 + 0x20 bytes  C++
    example-22-windowsDebug.exe!bgfx::ProgramGL::bindAttributes(const bgfx::VertexDecl & _vertexDecl, unsigned int _baseVertex)  Line 2907 + 0x74 bytes C++
    example-22-windowsDebug.exe!bgfx::RendererContextGL::submit(bgfx::Frame * _render, bgfx::ClearQuad & _clearQuad, bgfx::TextVideoMemBlitter & _textVideoMemBlitter)  Line 5020   C++
    example-22-windowsDebug.exe!bgfx::Context::renderFrame()  Line 1177 + 0x3d bytes    C++
    example-22-windowsDebug.exe!bgfx::Context::renderThread(void * _userData)  Line 1840 + 0x8 bytes    C++
    example-22-windowsDebug.exe!bx::Thread::threadFunc(void * _arg)  Line 153 + 0x2b bytes  C++

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions