2015-05-27 21:45 GMT+02:00 Sergey Isakov isakov-sl@bk.ru:
Bug 38048. It is closed by wrong fix 5af656ea85e22a00304f1904e91ccfee52a6ccc5 According to MSDN https://msdn.microsoft.com/en-us/library/windows/desktop/bb205858(v=vs.85).a... “If the source texture has fewer levels than the destination, the method will fail.” The method must fail
- To prevent fail on undefined levels.
- To inform caller that the call is wrong.
The correct patch attached. Test will follow next commit
As I already mentioned, MSDN is wrong in this case, like in many other cases. UpdateTexture never returns failure when using hardware devices on Windows.