projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use a new Texture for each Surface, this should fix blending artifacts caused by...
[supertux.git]
/
src
/
video
/
sdl_surface_ptr.hpp
diff --git
a/src/video/sdl_surface_ptr.hpp
b/src/video/sdl_surface_ptr.hpp
index
2fffc95
..
4311e70
100644
(file)
--- a/
src/video/sdl_surface_ptr.hpp
+++ b/
src/video/sdl_surface_ptr.hpp
@@
-36,6
+36,11
@@
public:
SDL_FreeSurface(m_surface);
}
+ SDL_Surface* operator->()
+ {
+ return m_surface;
+ }
+
SDL_Surface* get()
{
return m_surface;