Are shadows supported by the current hardware configuration?

The implementation may change in the future, but it currently relies on the GL extension GL_EOS_depth_texture.

Property definitions

gamnit :: shadow $ App :: supports_shadows=
	# Are shadows supported by the current hardware configuration?
	#
	# The implementation may change in the future, but it currently relies on
	# the GL extension `GL_EOS_depth_texture`.
	var supports_shadows: Bool is lazy do
		return display.as(not null).gl_extensions.has("GL_OES_depth_texture")
	end
lib/gamnit/depth/shadow.nit:39,2--45,4