On Fri, Feb 22, 2019 at 2:02 AM Zebediah Figura z.figura12@gmail.com wrote:
Signed-off-by: Zebediah Figura z.figura12@gmail.com
dlls/d3d9/d3d9_private.h | 1 + dlls/d3d9/device.c | 19 ++++- dlls/wined3d/device.c | 6 ++ dlls/wined3d/wined3d.spec | 1 + dlls/wined3d/wined3d_private.h | 128 -------------------------------- include/wine/wined3d.h | 130 +++++++++++++++++++++++++++++++++ 6 files changed, 155 insertions(+), 130 deletions(-)
I don't like the idea of exposing the internal structure of stateblocks in public wined3d API, and open-coding state updates in all client libraries. I think it would be preferred to keep helpers for state updates in wined3d. The main idea was to move stateblocks out of wined3d core, but it should be still possible to keep stateblock helpers for client libraries.