Wgl_render_texture

I am trying to use render textures and in reading in the spec on wglBindTexImageARB, the following possible errors are listed:

    ERROR_INVALID_HANDLE        <hPbuffer> is not a valid handle. 
    ERROR_INVALID_DATA          <iBuffer> is not a valid value. 
    ERROR_INVALID_OPERATION     The pbuffer attribute 
                                WGL_TEXTURE_FORMAT_ARB is set to
                                WGL_NO_TEXTURE_ARB.
    ERROR_INVALID_OPERATION     <iBuffer> is already bound to the texture

Is ERROR_INVALID_OPERATION supposed to be there twice or is one of those supposed to be something else?

It’s supposed to be there twice. These are two conditions that set the error flag with invalid op.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.