canviat abs per fabs
This commit is contained in:
+9
-3
@@ -1,8 +1,14 @@
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h"
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
#include "texture.h"
|
||||
#include <SDL3/SDL_error.h> // for SDL_GetError
|
||||
#include <SDL3/SDL_log.h> // for SDL_Log
|
||||
#include <SDL3/SDL_pixels.h> // for SDL_PixelFormat
|
||||
#include <SDL3/SDL_surface.h> // for SDL_CreateSurfaceFrom, SDL_DestroySurface
|
||||
#include <stdio.h> // for NULL
|
||||
#include <stdlib.h> // for exit
|
||||
#include <iostream> // for basic_ostream, char_traits, operator<<
|
||||
#include <string> // for operator<<, string
|
||||
#include "stb_image.h" // for stbi_failure_reason, stbi_image_free
|
||||
|
||||
Texture::Texture(SDL_Renderer *renderer)
|
||||
: renderer_(renderer), texture_(nullptr), width_(0), height_(0) {}
|
||||
|
||||
Reference in New Issue
Block a user