mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
2dlib: Fix uninitialized bool compiler warning in surface.cpp
This commit is contained in:
parent
987a51d38d
commit
3ac2cb8382
@ -435,10 +435,9 @@ void grSurface::replace_color(ddgr_color sc, ddgr_color dc) {
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
char *grSurface::lock(int *rowsize) {
|
char *grSurface::lock(int *rowsize) {
|
||||||
bool grerr;
|
|
||||||
|
|
||||||
ASSERT(m_SurfInit);
|
ASSERT(m_SurfInit);
|
||||||
|
|
||||||
|
bool grerr = false;
|
||||||
switch (ddsfObj.type) {
|
switch (ddsfObj.type) {
|
||||||
case SURFTYPE_VIDEOSCREEN:
|
case SURFTYPE_VIDEOSCREEN:
|
||||||
case SURFTYPE_GENERIC:
|
case SURFTYPE_GENERIC:
|
||||||
|
Loading…
Reference in New Issue
Block a user