org.lwjgl.opengl.Drawable Java Examples

The following examples show how to use org.lwjgl.opengl.Drawable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GameContainer.java    From opsu with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Get the context shared by all containers 
 * 
 * @return The context shared by all the containers or null if shared context isn't enabled
 */
public static Drawable getSharedContext() {
	return SHARED_DRAWABLE;
}
 
Example #2
Source File: GameContainer.java    From slick2d-maven with BSD 3-Clause "New" or "Revised" License 2 votes vote down vote up
/**
 * Get the context shared by all containers 
 * 
 * @return The context shared by all the containers or null if shared context isn't enabled
 */
public static Drawable getSharedContext() {
	return SHARED_DRAWABLE;
}