Upscaling pixel art - how to turn off smoothing?

Hello,

i`m developing game in pixel art. And i need to upscale my art, but since it is pixel-art - smooth ing is my enemy :

For example I have this png: 

I need to upscale it to 200%:

Good(smooth off):

Bad(smooth on):

How to turn smooth off?

I believe its:

display.setDefault( “magTextureFilter”, “nearest” )
display.setDefault( “minTextureFilter”, “nearest” )

http://docs.coronalabs.com/api/library/display/setDefault.html#magtexturefilter

Awesome! That is what i was looking for.

Here are screenshots from game(simulator):

Nice!

I believe its:

display.setDefault( “magTextureFilter”, “nearest” )
display.setDefault( “minTextureFilter”, “nearest” )

http://docs.coronalabs.com/api/library/display/setDefault.html#magtexturefilter

Awesome! That is what i was looking for.

Here are screenshots from game(simulator):

Nice!