| 1087 | } |
| 1088 | |
| 1089 | bool VideoDriver_Win32Base::LockVideoBuffer() |
| 1090 | { |
| 1091 | if (this->buffer_locked) return false; |
| 1092 | this->buffer_locked = true; |
| 1093 | |
| 1094 | _screen.dst_ptr = this->GetVideoPointer(); |
| 1095 | assert(_screen.dst_ptr != nullptr); |
| 1096 | |
| 1097 | return true; |
| 1098 | } |
| 1099 | |
| 1100 | void VideoDriver_Win32Base::UnlockVideoBuffer() |
| 1101 | { |
nothing calls this directly
no test coverage detected