Module: wine Branch: master Commit: 4a30ab299ae60f891ef7498245a97c4099dd337d URL: https://gitlab.winehq.org/wine/wine/-/commit/4a30ab299ae60f891ef7498245a97c4...
Author: Zebediah Figura zfigura@codeweavers.com Date: Sat Oct 28 14:05:25 2023 -0500
wined3d: Rename state.c to ffp_gl.c.
Better reflect its contents.
There is still a small amount of code in this file not directly related to the FFP:
- compile_state_table(), which should eventually go away;
- states like state_so() and indexbuffer(), which should eventually be moved to context_gl.c with the rest of the resource loading/binding code.
---
dlls/wined3d/Makefile.in | 2 +- dlls/wined3d/{state.c => ffp_gl.c} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/Makefile.in b/dlls/wined3d/Makefile.in index 35de4aec8da..9223ecd77c9 100644 --- a/dlls/wined3d/Makefile.in +++ b/dlls/wined3d/Makefile.in @@ -15,6 +15,7 @@ SOURCES = \ cs.c \ device.c \ directx.c \ + ffp_gl.c \ gl_compat.c \ glsl_shader.c \ nvidia_texture_shader.c \ @@ -26,7 +27,6 @@ SOURCES = \ shader_sm1.c \ shader_sm4.c \ shader_spirv.c \ - state.c \ stateblock.c \ surface.c \ swapchain.c \ diff --git a/dlls/wined3d/state.c b/dlls/wined3d/ffp_gl.c similarity index 99% rename from dlls/wined3d/state.c rename to dlls/wined3d/ffp_gl.c index 4183de6e638..de350241b05 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/ffp_gl.c @@ -1,5 +1,5 @@ /* - * Direct3D state management + * GL fixed-function pipeline * * Copyright 2002 Lionel Ulmer * Copyright 2002-2005 Jason Edmeades