glGetString

This topic contains 5 replies, has 2 voices, and was last updated by  chris 5 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #30776

    gpgnews
    Member

    Hello,
    I’m experiencing a crash in visual studio 2010 when calling this function

    const GLubyte *pszGLExtensions = glGetString(GL_EXTENSIONS);

    Unhandled exception at 0x0f478050 in OGLESTExtureStreaming.exe: 0xC0000005: Access violation reading location 0x00000000.

    Is this function supported from emulation sdk ?

    thank you in advance

    #35523

    gpgnews
    Member

    I’m using OGLES_WINDOWS_X86EMULATION_2.09.29.064.
    I have tried adding the same line on examples/demo and it crash each time (demos run well without).

    #35524

    chris
    Moderator

    glGetString requires that you have a valid rendering context when it’s called. Are you calling it before your GL initialization code?

    #35525

    gpgnews
    Member

    Hello Chris,
    My bad, i put it after eglCreateContext but before invoking eglMakeCurrent. My apologies. Thank you for the quick answer.

    #35526

    gpgnews
    Member

    last question if possible 🙂
    Naivly, and by any chance, is the GL_IMG_texture_stream available with the emulated driver ? my understanding from other thread is that it’s OEM dependent and need some DDK licensing schemes.

    Good day

    #35527

    chris
    Moderator

    No, GL_IMG_texture_stream is not currently supported by the emulator.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.