My code like follwing, compiling had no problem but can not excute on 2003 emulation.
Anyone know, how can I initial opengl es with MFC?
//configAttribs is a integers list that holds the desired format of
//our framebuffer. We will ask for a framebuffer with 24 bits of
//color and 16 bits of z-buffer. We also ask for a window buffer, not
//a pbuffer or pixmap buffer
const EGLint configAttribs =
hDC = ::GetDC(m_hWnd);
glesDisplay = eglGetDisplay(hDC); //Ask for an available display