Closed ghost closed 4 years ago
C is very different than Java even if they look similar. In this case the difference is that texture
is a field in C but a method in java, so the code would be:
SetTextureFilter(GetFontDefault().texture(), FILTER_POINT);
I would guess that you haven't used Java before so I would suggest learning Java with some simple text programs before attempting graphics or Raylib. Also it's very difficult to write Java without an IDE and if you were using an IDE it would have suggested this fix automatically so I'd suggest IntelliJ.
As jaylib is almost same as raylib in C,I managed to fix HighDPI causes text blurring issue in raylib by the line that raysan5 mentioned in this issue https://github.com/raysan5/raylib/issues/1111#issuecomment-590571060
I think it should works as same as in raylib C but it gives error in the following image
Here is the full file source code,Called
Game.java
I don't know until now what causes this,Thanks for helping me if you can!