I tried to load a texture but of some reason the texture is after loading null.
try {
cellTexture = Raylib.LoadTextureFromImage(Raylib.LoadImage("src\\main\\resources\\cell.jpg"));
} catch (Exception ignored){
ignored.printStackTrace();
}
INFO: FILEIO: [src\main\resources\task1\leaf.png] File loaded successfully
But by trying to draw image i get this message:
Texture failed to load or is invalid!