Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
General Java Game Development
Loading optimized image in GLFW causes JVM crash [RESOLVED]
« previous
next »
Print
Pages: [
1
]
Loading optimized image in GLFW causes JVM crash [RESOLVED]
1 Replies
6435 Views
Moocow9m
14
Loading optimized image in GLFW causes JVM crash [RESOLVED]
«
on:
September 25, 2019, 19:48:52 »
Attached you will find the java crash and optimized image.
Repository containing a test that causes the the crash(commented out):
https://github.com/Moocow9m/Viken.git
Test File:
https://github.com/Moocow9m/Viken/blob/master/src/test/kotlin/com/wavproductions/viken/Test.kt
Exact code that crashes: Viken.kt:247
Code:
[Select]
glfwSetWindowIcon(window.id, icon)
Any reasons explaining why the image causes this and possible fixes are appreciated!
Note: the second image in the repo(original) works fine. And Image was optimized using
https://tinypng.com/
«
Last Edit: September 27, 2019, 23:27:21 by Moocow9m
»
Logged
Moocow9m
14
Re: Loading optimized image in GLFW causes JVM crash
«
Reply #1 on:
September 27, 2019, 23:26:21 »
This is now fixed, forced comp to be 4 and now it works
Logged
Print
Pages: [
1
]
« previous
next »