microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

Assertion failed when call eglInitialize #158

Closed harlanc closed 5 years ago

harlanc commented 5 years ago

My platform is win10

warning: Assertion failed!

Program: C:\MinGW\msys\1.0\local\bin\libGLESv2.dll File: libANGLE\renderer\d3d\d3d11\Renderer11.cpp Line: 1172

Expression: configs.size() > 0

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

Program received signal SIGTRAP, Trace/breakpoint trap. 0x5c8ad7f7 in libGLESv2!glProgramUniform2fv () from C:\MinGW\msys\1.0\local\bin\libGLESv2.dll

harlanc commented 5 years ago

I run the demo DesktopHelloTriangle, the above error also happens.

Using Vistual studio community 2015 on windows 10

2018-11-24 5 42 01

Update:

The demo can be run successfully on physical machine. The Assert error only happens on virtual machine...

austinkinross commented 5 years ago

Hi there, apologies for the delayed reply here.

I'm afraid that I don't know what could be causing that. If you are still experiencing problems then I suggest that you ask about them on the master ANGLE mailing list: https://groups.google.com/forum/#!forum/angleproject

Thanks Austin