src/application.cpp
TexturePtr Application::getEmptyTexture()
{
	if (!emptyTexture)
	{
		emptyTexture = std::make_shared<Texture>();
		emptyTexture->createEmpty(sdl->getRenderer());
	}

	return emptyTexture;
}
// Get a placeholder texture that will soon be replaced.
Get a placeholder texture that will soon be replaced.
Get a placeholder texture that will soon be replaced .
TexturePtr Application::getEmptyTexture()
{
	if (!emptyTexture)
	{
		emptyTexture = std::make_shared<Texture>();
		emptyTexture->createEmpty(sdl->getRenderer());
	}
	return emptyTexture;
}
TexturePtr Application :: getEmptyTexture ( ) { if ( ! emptyTexture ) { emptyTexture = std :: make_shared < Texture > ( ) ; emptyTexture -> createEmpty ( sdl -> getRenderer ( ) ) ; } return emptyTexture ; }
Get a placeholder texture that will soon be replaced.
Get a placeholder texture that will soon be replaced .