bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Uniform buffers creation fails with OpenGL implementation #6

Closed bnoazx005 closed 5 years ago

bnoazx005 commented 5 years ago

Bug report

Uniform buffers creation process fails when the OpenGL graphics context is used.

Environment

Win32 (Win10) / Visual Studio 2017

Steps to reproduce the issue

1) Initialize a graphics context using the OpenGL implementation. 2) Try to create a constant buffer.

What's the expected result?

A new constant buffer should be created without any error.

What's the actual result?

RC_FAIL error is returned from CreateOGLConstantBuffer method.