LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: Bare minimum directx wrapper  (Read 17553 times)

Eternity

  • Newbie
  • *
  • Offline Offline
  • Posts: 40
Bare minimum directx wrapper
« on: March 16, 2012, 09:40:53 »

Hi.

I have a couple of games on my website that's also listed on the chrome AppStore. They are all applets using lwjgl. I recently build in error reporting and the first thing I noticed is that most people can't play them due to lacking OpenGL support. These are mostly casual gamers most likely never install proper graphics drivers. So I'm thinking of adding directx support to my engine.

Im thinking of writing the wrapper myself but instead of writing a full on solution I just want to wrap the handful of functions that I Actualy use. As far as I can see this should be trivial. Or am I missing something? And secondly and this is the real question. How hard is it to put a native window in a applet? Like lwjgl does. Is it a massive hack or does applets provide a straightforward way to do it.

Thnx!
Logged