husker-dev / openglfx

OpenGL implementation for JavaFX
Apache License 2.0
80 stars 10 forks source link

How to use INCLUDE_ES2 for Maven #12

Closed orange451 closed 2 years ago

orange451 commented 2 years ago

I want to use direct rendering with LWJGL using the supplied jar file: javafx.graphics.win-es2.jar

How can this be accomplished?

husker-dev commented 2 years ago

To use javafx.graphics.win-es2.jar just add it to your Maven dependency as a regular .jar file library.

About INCLUDE_ES2

INCLUDE_ES2 is a property for JavaFX build.gradle script that allows to compile JavaFX sources including OpenGL pipeline for Windows.

After setting this property to true, output files will include javafx.graphics.win-es2.jar