rashwinr / opengles-book-samples

Automatically exported from code.google.com/p/opengles-book-samples
0 stars 0 forks source link

HelloTriangle error in VS2010/Windows8 #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile and run HelloTriangle .sln examples..

What is the expected output? What do you see instead?
Should be able to run HelloTriangle without errors

We get error because of this  line:  eglGetDisplay(hDC).
Modifying this line to query default_display  solves the problem...
display = eglGetDisplay(EGL_DEFAULT_DISPLAY);

What version of the product are you using? On what operating system?
Windows 8.1, 
VS2010 for compilation

Original issue reported on code.google.com by puttaraj...@gmail.com on 26 Jan 2014 at 7:44