LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: l3eta on May 14, 2012, 00:23:29

Title: [CLOSED] DisplayMode Constructor
Post by: l3eta on May 14, 2012, 00:23:29
EDIT: I forgot what I was actually trying to do, Just remembered so I fixed the code and title

Mainly because I like to work with Dimensions instead of doing w, h when I define something.

public DisplayMode(Dimension size) {
   this(size.width, size.height);
}


Pretty simple, Just a little thought :)
Title: Re: [RFE] DisplayMode Constructor
Post by: kappa on May 29, 2012, 09:59:33
Don't think adding an OO api to LWJGL's static API is consistent. LWJGL provides just the most basic API, boilerplate API sugar should go in the framework that sits on top of LWJGL.