Results 1 to 2 of 2

Thread: Error when using eglGetDisplay

  1. #1
    Join Date
    Jul 2014

    Error when using eglGetDisplay


    In my application I am using eglGetDisplay(GetDC(hWnd)); (for windows and eglGetDisplay((EGLNativeDisplayType)x_display); in linux) actually this function is called from esCreateWindow() of esutils (from OpenGL-ES book link) which I am using. The problem I am facing is the window is created (GetDC(hwnd) and x_display are not NULL) but when eglGetDisplay is called in CreateEGLContext() the application come out (both in windows and linux) with access violation error. Why is this happening is it any thing to do with my graphics driver. Someone please help me

    Thanks & regards

  2. #2
    Senior Member
    Join Date
    May 2008
    Typically a good way to start working with GLES on a new platforms is to look for some sample applications, then you're free to make any modifications to something that's should be functional.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts