Re: [PATCH 1/2] wined3d: fix wrong level calculation implemented in 1.7.42
1 Jun
2015
1 Jun
'15
1:33 p.m.
2015-05-27 21:45 GMT+02:00 Sergey Isakov <isakov-sl(a)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 1. To prevent fail on undefined levels. 2. 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.
3844
Age (days ago)
3844
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni