I used hashlink to generate my c-files and then I use hlc-compiler to use gcc to get the executable for release. I tried different optimizations like -O1
, -O2
, -O3
, however as you should see in the picture the pixel resolution is sharper when using hashlink than it is running the .exe release.
(the front window is hashlink)
Thank you.
Further information
My hlc-compile command (for cmd or .bat):
haxelib run hlc-compiler --srcDir ./ --outDir ../exe/ --hlLibDir "C:\Programs\HaxeToolkit\haxe\lib\hashlink\hl-1.11.0-win" --hlIncludeDir "C:\Programs\HaxeToolkit\haxe\lib\hashlink\hashlink-master\src" --copyRuntimeFiles --exFile C:\Windows\System32\dbghelp.dll -O3
see also: Options for gcc and optimization