Last active
August 29, 2015 14:02
-
-
Save josefnpat/d6e74bf6d6b91e9e6616 to your computer and use it in GitHub Desktop.
Feature and Limit Profiler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Features:") | |
for _,feature in pairs({ | |
"canvas","npot","subtractive","shader","hdrcanvas","multicanvas", | |
"mipmap","dxt","bc5","srgb" | |
}) do | |
print(feature,love.graphics.isSupported(feature)) | |
end | |
print("\nLimits:") | |
for _,limit in pairs({ | |
"pointsize","texturesize","multicanvas","canvasfsaa" | |
}) do | |
print(limit,love.graphics.getSystemLimit(limit)) | |
end | |
love.event.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment