Commit c0545183 authored by Sunny Sachanandani's avatar Sunny Sachanandani

Major changes to drawing. Reverted back to core X11 functions due to regressions.

parent 6a534a40
This diff is collapsed.
...@@ -144,8 +144,8 @@ MoveSprites(SDL_Window * window, SDL_Texture * sprite) ...@@ -144,8 +144,8 @@ MoveSprites(SDL_Window * window, SDL_Texture * sprite)
/* Test points */ /* Test points */
SDL_SetRenderDrawColor(0xFF, 0x00, 0x00, 0xFF); SDL_SetRenderDrawColor(0xFF, 0x00, 0x00, 0xFF);
SDL_RenderDrawPoint(0, 0); SDL_RenderDrawPoint(0, 0);
SDL_RenderDrawPoint(window_w-1, 0); SDL_RenderDrawPoint(window_w/2-1, window_h/2-1);
SDL_RenderDrawPoint(0, window_h-1); SDL_RenderDrawPoint(window_w/2-1, window_h/2-1);
SDL_RenderDrawPoint(window_w-1, window_h-1); SDL_RenderDrawPoint(window_w-1, window_h-1);
/* Test horizontal and vertical lines */ /* Test horizontal and vertical lines */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment