Please avoid nesting #ifdef's unless necessary. Makes the code more difficult to read with ho benefit.

Anyway, should be under a 
```
if(m_renderMethod & RENDER_IMXMAP)
```
and not a ifdef at all ;)