Results 1 to 3 of 3

Thread: Create Shader in Dll

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I don't know if it will help but in dll you have glslsimpleprog var declared and then you use same name and type in GLRender as parameter.


  2. #2
    Thank you. yes its true and i found another problems to ..
    i was tested it yesterday. and i fix error .

    1 InitOpenGL ... in my dll i dint use initOpengl.. This Function LoadOpenGl DLL..
    2 ActiveRendering Context.. ThisFunction must use in DLL...
    3 glslsimpleprog := TGLSLProgram.Create(); ... before i create this variable only in dll or only in main application. When i create this variable in mainapplication and in dll its work..
    4. if i create first Shader and later some Component for Plugın Gui its make error.. But if firstly create shader and last create Component for Plugin ui its work ...


    Quote Originally Posted by laggyluk View Post
    I don't know if it will help but in dll you have glslsimpleprog var declared and then you use same name and type in GLRender as parameter.


Bookmarks

Posting Permissions

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