How do I get Nifty GUI to use my coordinate system?

  • Steven Hansen
    Steven Hansen

    For various reasons, I like having openGL (via LWJGL) to use coordinates other than pixels, which is easily set via:

    Display.setDisplayMode(new DisplayMode(800, 600));

    However, now that I've begun trying to integrate Nifty GUI into my application, this coordinate scale is causing problems. Namely, Nifty seems to think openGL is using pixels as units, and thus renders everything gigantic. Is there anyway to fix this?