sf2dlib icon indicating copy to clipboard operation
sf2dlib copied to clipboard

Simple and Fast 2D library for the Nintendo 3DS (using ctrulib)

Results 10 sf2dlib issues
Sort by recently updated
recently updated
newest added

What I mean is the example shown at https://goo.gl/Khpy8y. What causes these 2 strange bugs and how can I fix them? Just to be clear, the image rendered is 64x64,...

Ever since sf2d_texture_tile32_hardware was added, any image I use that is 32x32 or under causes any program I use sf2d for to crash or hang. Changing TEX_MIN_SIZE to 64 seems...

``` root@30821:~/3ds/sf2dlib/libsf2d# make install sf2d_texture.c arm-none-eabi-gcc -MMD -MP -MF /root/3ds/sf2dlib/libsf2d/build/sf2d_texture.d -g -Wall -Werror -O2 -mword-relocations -ffunction-sections -fno-strict-aliasing -fomit-frame-pointer -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/root/3ds/sf2dlib/libsf2d/include -I/opt/devkitpro/libctru/include -I/root/3ds/sf2dlib/libsf2d/build -DARM11 -D_3DS -c /root/3ds/sf2dlib/libsf2d/source/sf2d_texture.c -o...

First of all my program heavily relies on sf2d and sflib for loading it's textures. I haven't changed anything with the source but after updating with the most recent versions...

This is probably a stupid question but i'm not familiar very much on how shaders work with sf2dlib so if you can reply me about this it could be really...

Im currently working a 3DS app and there is no complex shapes yet so i had to use lines. While using the draw line function i saw that the lines...

I've found that the software implementation of sf2d_texture_tile32() is extremely slow. It's much faster to delegate this task to hardware by performing a display transfer from the source into a...

Basically sf2d_draw_fill_circle kills everything. This can be reproduced in the sample by moving sf2d_draw_fill_circle before any of the rectangle calls.

"draw_texture_rotate" uses as the center of rotation x & y of the texture and moves the texture half of its width left and half of its height up. ![capture](https://cloud.githubusercontent.com/assets/2379934/9832308/43a5bcd6-597f-11e5-8952-8b950e816735.PNG) ![capture2](https://cloud.githubusercontent.com/assets/2379934/9832310/446c4270-597f-11e5-98f1-1561d9601e5e.PNG)

This doesn't work: ``` cpp // Called once main_texture = sf2d_create_texture(width, height, TEXFMT_RGBA8, SF2D_PLACE_RAM); // Called each frame sf2d_fill_texture_from_RGBA8(main_texture, pixels, width, height); sf2d_start_frame(GFX_TOP, GFX_LEFT); // This renders garbage starting from...