Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
af3
kernel
Commits
e53c85b7
Commit
e53c85b7
authored
11 years ago
by
Florian Hölzl
Browse files
Options
Downloads
Patches
Plain Diff
removed unnecessary display code, which caused linux to fail with exception.
refs 1963
parent
6911d1a3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/draw/LwjglCanvas.java
+1
-12
1 addition, 12 deletions
...c/org/fortiss/tooling/graphicsGL/ui/draw/LwjglCanvas.java
with
1 addition
and
12 deletions
org.fortiss.tooling.graphicsGL.ui/trunk/src/org/fortiss/tooling/graphicsGL/ui/draw/LwjglCanvas.java
+
1
−
12
View file @
e53c85b7
...
...
@@ -35,8 +35,6 @@ import org.eclipse.swt.opengl.GLData;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Listener
;
import
org.lwjgl.LWJGLException
;
import
org.lwjgl.opengl.Display
;
import
org.lwjgl.opengl.DisplayMode
;
import
org.newdawn.slick.Color
;
import
org.newdawn.slick.TrueTypeFont
;
...
...
@@ -48,7 +46,7 @@ import org.newdawn.slick.TrueTypeFont;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating
GREEN
Hash:
369AA3AF161B38663D17944A36344627
* @ConQAT.Rating
YELLOW
Hash:
28EED9C907712B67D1B7A7ED049A1EDF
*/
@SuppressWarnings
(
"deprecation"
)
public
class
LwjglCanvas
extends
GLCanvas
{
...
...
@@ -56,15 +54,6 @@ public class LwjglCanvas extends GLCanvas {
/** Constructor. */
public
LwjglCanvas
(
Composite
parent
,
GLData
data
)
{
super
(
parent
,
SWT
.
NONE
,
data
);
DisplayMode
arg0
=
new
DisplayMode
(
1280
,
800
);
try
{
arg0
=
org
.
lwjgl
.
util
.
Display
.
getAvailableDisplayModes
(
800
,
600
,
800
,
600
,
32
,
32
,
60
,
60
)[
0
];
Display
.
setDisplayMode
(
arg0
);
}
catch
(
LWJGLException
e
)
{
e
.
printStackTrace
();
}
}
/** Constructor. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment