Menu

Create pBuffer DC error

Help
Daniel
2020-11-17
2020-11-17
  • Daniel

    Daniel - 2020-11-17

    Hey!
    I stumbled across an error while trying to enable/render a memoryViewer.
    I still havn't found when it happens, it is only somtimes when doing memoryViewer.Render;

    GLWin32Context line 1145

    localDC := FGL.WGetPbufferDCARB(localHPBuffer);
                if localDC = 0 then
                  raise EPBuffer.Create('Unabled to create pbuffer''s DC.');
    

    Any idea what it is?
    Cheers

     
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-11-17

    Hi Daniel,
    Now there is no GLWin32Context but GLS.WindowsContext.pas.
    Try it.
    Pavel

     
  • Daniel

    Daniel - 2020-11-17

    Hi Pavel!

    I forgot to mention that I am using Lazarus.
    Maybe that is why I have GLWin32Context?

    Cheers

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.