Added love.graphics.getRendererInfo(infotype). Useful for creating more informative error reports and advanced debugging.

Returned string can be highly system-dependent, so don't rely on its output!

infotype can be "name", "version", "vendor", or "device"
This commit is contained in:
Alex Szpakowski
2013-05-05 16:47:42 -03:00
parent 08d6e658c1
commit 63404f7097
11 changed files with 112 additions and 32 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ public:
/**
* Calculate Simplex noise for the specified coordinate(s).
*
* @return Noise value in the range of [0,1].
* @return Noise value in the range of [-1,1].
**/
float noise(float x) const;
float noise(float x, float y) const;