comparison Framework/Viewport/SdlViewport.cpp @ 1217:c04d0aa40f73 broker

removed debug code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Dec 2019 18:34:56 +0100
parents 5147277850cf
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1216:5147277850cf 1217:c04d0aa40f73
172 static const uint32_t bmask = 0x000000ff; 172 static const uint32_t bmask = 0x000000ff;
173 173
174 const unsigned int width = compositor.GetCanvas().GetWidth(); 174 const unsigned int width = compositor.GetCanvas().GetWidth();
175 const unsigned int height = compositor.GetCanvas().GetHeight(); 175 const unsigned int height = compositor.GetCanvas().GetHeight();
176 176
177 printf("%dx%d\n", width, height);
178
179 if (sdlSurface_ != NULL) 177 if (sdlSurface_ != NULL)
180 { 178 {
181 if (sdlSurface_->pixels == compositor.GetCanvas().GetBuffer() && 179 if (sdlSurface_->pixels == compositor.GetCanvas().GetBuffer() &&
182 sdlSurface_->w == static_cast<int>(width) && 180 sdlSurface_->w == static_cast<int>(width) &&
183 sdlSurface_->h == static_cast<int>(height) && 181 sdlSurface_->h == static_cast<int>(height) &&