java - Libgdx - Desktop Application doesn't launch -


i'm trying start libgdx project in intellij. used libgdx setup generate project , imported in intellij desktop application doesn't run. runs fine, no error or exception there no game window @ all.

the application declared few seconds running terminates without sign of error exit code -1073740791 (and no lwgjl window of course).

this code:

package com.game.pole.desktop;  import com.badlogic.gdx.backends.lwjgl.lwjglapplication; import com.badlogic.gdx.backends.lwjgl.lwjglapplicationconfiguration; import com.game.pole.game;  public class desktoplauncher {  public static void main (string[] arg) {         lwjglapplicationconfiguration config = new lwjglapplicationconfiguration();         config.title = "game";         config.usegl30 = false;         config.width = 480;         config.height = 320;         new lwjglapplication(new game(), config);     } } 

and applicationclass:

package com.game.pole;  import com.badlogic.gdx.applicationadapter; import com.badlogic.gdx.gdx; import com.badlogic.gdx.graphics.gl20; import com.badlogic.gdx.graphics.texture; import com.badlogic.gdx.graphics.g2d.spritebatch;      public class game extends applicationadapter {         spritebatch batch;         texture img;          @override         public void create () {             batch = new spritebatch();             img = new texture("badlogic.jpg");             system.out.println("hallo!");         }          @override         public void render () {             gdx.gl.glclearcolor(1, 0, 0, 1);             gdx.gl.glclear(gl20.gl_color_buffer_bit);             batch.begin();             batch.draw(img, 0, 0);             batch.end();         }          @override         public void dispose () {             batch.dispose();             img.dispose();         }     } 

i tried run game command line - build successfull nothing more happens here either.

i'm stuck und thankful every kind of help.

edit: tried generate eclipse project check if intellij problem, i've got same problem here well...

there bug in nvidia geforce 378.49 driver. reverting older version of driver can solve issue.

nvidia geforce 378.57 hot fix drivers:


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -