Commit 14b2983b authored by cutealien's avatar cutealien

SColor::getData is now const (thx @Ovan for noticing).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5004 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a59d8c87
...@@ -448,7 +448,7 @@ namespace video ...@@ -448,7 +448,7 @@ namespace video
/** \param data: target to write the color. Must contain sufficiently large memory to receive the number of bytes neede for format /** \param data: target to write the color. Must contain sufficiently large memory to receive the number of bytes neede for format
\param format: tells the format used to write the color into data \param format: tells the format used to write the color into data
*/ */
void getData(void *data, ECOLOR_FORMAT format) void getData(void *data, ECOLOR_FORMAT format) const
{ {
switch(format) switch(format)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment