OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
D.J.Peters
Posts: 7852
Joined: May 28, 2005 3:28

OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)

Postby D.J.Peters » Oct 05, 2015 13:19

I build latest OpenGL window library GLFW 3.1.1 for windows and Linux 32/64-bit.
(dynamic libs, docs and c-examples included)

homepage: http://www.glfw.org/

Many bugfixes and new stuff: file droping / clipboard / OS and user defined cursors ...

Take a lock in glfw3.bi I marked new things since 3.0.1 with "' new"

download: glfw-3.1.1.zip

Joshy

extra sugar :-)

Code: Select all

#if defined(__FB_WIN32__)
  extern "Windows-MS"
  ' new
  declare function glfwGetWin32Adapter(monitor as GLFWmonitor ptr) as const zstring ptr
  declare function glfwGetWin32Monitor(monitor as GLFWmonitor ptr) as const zstring ptr

  declare function glfwGetWin32Window(win as GLFWwindow ptr) as any ptr
  declare function glfwGetWGLContext(win as GLFWwindow ptr) as any ptr
#elseif defined(__FB_LINUX__)
  extern "c"
  ' new
  declare function glfwGetX11Adapter(monitor as GLFWmonitor ptr) as any ptr
  declare function glfwGetX11Monitor(monitor as GLFWmonitor ptr) as any ptr

  declare function glfwGetX11Display() as any ptr
  declare function glfwGetX11Window(win as GLFWwindow ptr) as any ptr
  declare function glfwGetGLXContext(win as GLFWwindow ptr) as any ptr
#endif
...
Last edited by D.J.Peters on Oct 31, 2018 17:05, edited 2 times in total.
jdebord
Posts: 521
Joined: May 27, 2005 6:20
Location: Limoges, France
Contact:

Re: OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)

Postby jdebord » Oct 06, 2015 8:01

Thanks for the update :)

What is the best means to use OpenGL : from a FB window or from a FLTK window ?
D.J.Peters
Posts: 7852
Joined: May 28, 2005 3:28

Re: OpenGL Window library GLFW 3.1.1 (win/lin 32/64-bit)

Postby D.J.Peters » Oct 28, 2015 6:45

fixed: a bug in include file
added: fullscreen.bas

Joshy
wallyg
Posts: 89
Joined: May 08, 2009 7:08
Location: Tucson Arizona

Simple Question

Postby wallyg » May 02, 2016 8:36

I just downloaded the 3.1.1 version for FB. I am currently running FB 1.0.5 with the libraries that come with it on an up to date Windows 7 system.

What version of OpenGL will be accessed? This way I can get the proper documentation for OpenGL that matches what I will be loading.

Thank you
Wally

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 2 guests