This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
image: fix bug introduced in Image::Lock2D().
undefined
Sam Hocevar
10 years ago
parent
2a5150e060
commit
e2f53bb71a
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/image/image.cpp
+ 2
- 0
src/image/image.cpp
View File
@@ -199,6 +199,8 @@ template<PixelFormat T> typename PixelType<T>::type *Image::Lock()
/* The Lock2D() method */
void *Image::Lock2DHelper(PixelFormat T)
{
SetFormat(T);
return m_data->m_pixels[(int)T]->Data2D();
}
Write
Preview
Loading…
Cancel
Save