Skip to content

Instantly share code, notes, and snippets.

@josefnpat
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josefnpat/d6e74bf6d6b91e9e6616 to your computer and use it in GitHub Desktop.
Save josefnpat/d6e74bf6d6b91e9e6616 to your computer and use it in GitHub Desktop.
Feature and Limit Profiler
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