diff --git a/examples/rendertarget.cc b/examples/rendertarget.cc index ad7c190..9c21279 100644 --- a/examples/rendertarget.cc +++ b/examples/rendertarget.cc @@ -1,6 +1,6 @@ /* libSDL2pp - C++11 bindings/wrapper for SDL2 - Copyright (C) 2013-2014 Dmitry Marakasov + Copyright (C) 2013-2015 Dmitry Marakasov This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages @@ -54,7 +54,7 @@ int Run() { // Necessary checks according to SDL docs SDL_RendererInfo ri; - render.GetInfo(&ri); + render.GetInfo(ri); if (!(ri.flags & SDL_RENDERER_TARGETTEXTURE)) { std::cerr << "Sorry, your renderer doesn't support texture targets" << std::endl;