Using GLFW from within another DLL

Using GLFW
Leo
2012-05-27
2012-11-08
  • Leo
    Leo
    2012-05-27

    HI All,

    I am attempting to make a dll for my own use that uses GLFW. I can
    successfully open a window, but it is always blank… I am currently just trying
    to clear the screen to red to check that it works.

    The same code works if I just put it in a normal project. So I am guessing
    that it has something to do with the fact that I am attempting to use GLFW
    from within another dll - and there is some gotcha that I am not aware of.

    Any help with diagnosing this, or pointing me at the correct methods for doing
    this sort of thing would be greatly appreciated.

    Many thanks,

    Leo

     
  • Leo
    Leo
    2012-05-27

    Hi All,

    Not to worry… just realised I was making a rookie mistake!