correction
This commit is contained in:
parent
1084e784f8
commit
f7d1e50db4
2 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@ void DriverGL::drawEmergString(int x, int y, const char *text, const Color &fgCo
|
|||
}
|
||||
|
||||
Driver::TextObjectHandle *DriverGL::createTextBitmap(uint8 *data, int width, int height, const Color &fgColor) {
|
||||
TextObjectHandle *handle = new TextObjectHandle();
|
||||
TextObjectHandle *handle = new TextObjectHandle;
|
||||
handle->width = width;
|
||||
handle->height = height;
|
||||
handle->bitmapData = NULL;
|
||||
|
|
|
@ -399,7 +399,7 @@ void DriverTinyGL::drawEmergString(int /*x*/, int /*y*/, const char * /*text*/,
|
|||
}
|
||||
|
||||
Driver::TextObjectHandle *DriverTinyGL::createTextBitmap(uint8 *data, int width, int height, const Color &fgColor) {
|
||||
TextObjectHandle *handle = new TextObjectHandle();
|
||||
TextObjectHandle *handle = new TextObjectHandle;
|
||||
handle->width = width;
|
||||
handle->height = height;
|
||||
handle->numTex = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue