~npisanti/rl_tools

42fc19701d10897ec966f18c35ad1ed3ce2ccc44 — Nicola Pisanti 2 months ago 4abb671
defaults to nearest pixel for textures
2 files changed, 2 insertions(+), 2 deletions(-)

M shader/main.lua
M shaderdrop/main.lua
M shader/main.lua => shader/main.lua +1 -1
@@ 22,7 22,7 @@ if args.count() > 3 then
	layer.create( "def", w, h, m )
else
	window.size( w, h )
	layer.create( "def" )
	layer.create( "def", w, h, 1 )
end

----------------------------------------------------

M shaderdrop/main.lua => shaderdrop/main.lua +1 -1
@@ 4,7 4,7 @@ require "strict"
----------------------------------------------------
window.title( "" )
window.size( 480, 480 )
layer.create( "def" )
layer.create( "def", 480, 480, 1)

frag.load( args.get(0), "glsl" )