mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
2dlib: Fix another set but not used variable compiler warning in surface.cpp
This commit is contained in:
parent
d49691143c
commit
987a51d38d
@ -667,11 +667,10 @@ void grSurface::xlat24_16(char *data, int w, int h) {
|
||||
char *sptr;
|
||||
uint16_t *dptr;
|
||||
int scol, dcol, row;
|
||||
int rowsize_w, height, width;
|
||||
int height, width;
|
||||
|
||||
dptr = (uint16_t *)m_DataPtr;
|
||||
sptr = (char *)data;
|
||||
rowsize_w = m_DataRowsize / 2;
|
||||
height = std::min(h, ddsfObj.h);
|
||||
width = std::min(w, ddsfObj.w);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user