Mesa library vs Hardware accelerated OpenGL for my executable – it's just a linking problem?

| | August 5, 2015

Supposing that i have my program that is targeting a specific OpenGL version, let’s say the 3.0, now i want to produce an executable that will support the software rendering with Mesa and another executable that will support the Hardware accelerated context, i can use the same source code for both without expecting any issues ?

In another words, the instrunctions in this libraries are the same for my linking purpose ?

One Response to “Mesa library vs Hardware accelerated OpenGL for my executable – it's just a linking problem?”

  1. Mesa and other libraries that implement the opengl API are dynamically linked, so yes, your application doesn’t need to know what the actual library is.

Leave a Reply