Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Waffle-Run
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arne.Reime
Waffle-Run
Commits
a3f8f37a
Commit
a3f8f37a
authored
4 years ago
by
Kenneth Langedal
Browse files
Options
Downloads
Patches
Plain Diff
Updated lwjgl backend version
parent
ab1109ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pom.xml
+4
-5
4 additions, 5 deletions
pom.xml
src/main/java/inf112/skeleton/app/Main.java
+6
-8
6 additions, 8 deletions
src/main/java/inf112/skeleton/app/Main.java
src/test/java/inf112/skeleton/app/AppTest.java
+3
-5
3 additions, 5 deletions
src/test/java/inf112/skeleton/app/AppTest.java
with
13 additions
and
18 deletions
pom.xml
+
4
−
5
View file @
a3f8f37a
...
...
@@ -14,8 +14,7 @@
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
1.7
</maven.compiler.source>
<maven.compiler.target>
1.7
</maven.compiler.target>
<maven.compiler.release>
9
</maven.compiler.release>
</properties>
<dependencies>
...
...
@@ -28,15 +27,15 @@
<dependency>
<groupId>
com.badlogicgames.gdx
</groupId>
<artifactId>
gdx-
backend-lwjgl
</artifactId>
<artifactId>
gdx-
platform
</artifactId>
<version>
1.9.10
</version>
<classifier>
natives-desktop
</classifier>
</dependency>
<dependency>
<groupId>
com.badlogicgames.gdx
</groupId>
<artifactId>
gdx-
platform
</artifactId>
<artifactId>
gdx-
backend-lwjgl3
</artifactId>
<version>
1.9.10
</version>
<classifier>
natives-desktop
</classifier>
</dependency>
<dependency>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/inf112/skeleton/app/Main.java
+
6
−
8
View file @
a3f8f37a
package
inf112.skeleton.app
;
import
com.badlogic.gdx.backends.lwjgl.LwjglApplication
;
import
com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration
;
import
com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application
;
import
com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration
;
public
class
Main
{
public
static
void
main
(
String
[]
args
)
{
LwjglApplicationConfiguration
cfg
=
new
LwjglApplicationConfiguration
();
cfg
.
title
=
"hello-world"
;
cfg
.
width
=
480
;
cfg
.
height
=
320
;
Lwjgl3ApplicationConfiguration
cfg
=
new
Lwjgl3ApplicationConfiguration
();
cfg
.
setTitle
(
"hello-world"
);
cfg
.
setWindowedMode
(
480
,
320
);
new
LwjglApplication
(
new
HelloWorld
(),
cfg
);
new
Lwjgl
3
Application
(
new
HelloWorld
(),
cfg
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/test/java/inf112/skeleton/app/AppTest.java
+
3
−
5
View file @
a3f8f37a
...
...
@@ -6,14 +6,12 @@ import org.junit.Test;
/**
* Unit test for simple App.
*/
public
class
AppTest
{
public
class
AppTest
{
/**
* Rigorous Test :-)
*/
@Test
public
void
shouldAnswerWithTrue
()
{
assertTrue
(
true
);
public
void
shouldAnswerWithTrue
()
{
assertTrue
(
true
);
}
}
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