Skip to content

Commit e4f7bc6

Browse files
authored
Merge pull request #105 from fastjengine/engineconfig-x11
(#104) add X11 to list of supported hardware accelerations
2 parents 7ab3f01 + c22fdf1 commit e4f7bc6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • src/example/java/tech/fastj/example/engineconfig

src/example/java/tech/fastj/example/engineconfig/Main.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ public static void main(String[] args) {
6565

6666
/* Now, we'll move onto configureHardwareAcceleration.
6767
* By making use of java2d, FastJ supports a few hardware-accelerated graphics APIs:
68-
* - OpenGL
69-
* - Direct3D
68+
* - OpenGL, for devices of all OSes
69+
* - Direct3D, for Windows devices
70+
* - X11, for Linux devices
71+
* As well as CPURender, for software rendering.
7072
*
7173
* With that in mind, "FastJEngine#configureHardwareAcceleration" allows you to configure
7274
* the type of hardware acceleration your game uses. This is set using the "HWAccel" enum.

0 commit comments

Comments
 (0)