freebasic / fbc

FreeBASIC is a completely free, open-source, multi-platform BASIC compiler, with syntax similar to MS-QuickBASIC, that adds new features such as pointers, object orientation, unsigned data types, inline assembly, and many others.
https://www.freebasic.net
911 stars 142 forks source link

LINUX: screeninfo returns the wrong refresh rate (50) #257

Open clebercasali opened 4 years ago

clebercasali commented 4 years ago
dim as integer x, y, rate
screeninfo x, y, , , ,rate
print rate

I have a 144Hz monitor. If I compile and run this code using fbc linux, it will always return 50 If I compile it for windows and run it using wine, it will return the correct rate, 144.

fatman2021 commented 3 years ago

screeninfo returns wrong resolution and screenres crashes computer after using GLSL.