summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/osd/windows/d3dhlsl.c2
-rw-r--r--src/osd/windows/drawd3d.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/windows/d3dhlsl.c b/src/osd/windows/d3dhlsl.c
index 8a10a105e76..8e2e839db3a 100644
--- a/src/osd/windows/d3dhlsl.c
+++ b/src/osd/windows/d3dhlsl.c
@@ -927,7 +927,7 @@ int shaders::create_resources(bool reset)
texture.rowpixels = shadow_bitmap.rowpixels();
texture.width = shadow_bitmap.width();
texture.height = shadow_bitmap.height();
- texture.set_palette(NULL);
+ texture.palette = NULL;
texture.seqid = 0;
// FIXME: should shadow bitmap really use prescale?
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c
index 9fe0a65ea17..74a0f562440 100644
--- a/src/osd/windows/drawd3d.c
+++ b/src/osd/windows/drawd3d.c
@@ -500,7 +500,7 @@ void texture_manager::create_resources()
texture.rowpixels = m_default_bitmap.rowpixels();
texture.width = m_default_bitmap.width();
texture.height = m_default_bitmap.height();
- texture.set_palette(NULL);
+ texture.palette = NULL;
texture.seqid = 0;
// now create it
@@ -517,7 +517,7 @@ void texture_manager::create_resources()
texture.rowpixels = m_vector_bitmap.rowpixels();
texture.width = m_vector_bitmap.width();
texture.height = m_vector_bitmap.height();
- texture.set_palette(NULL);
+ texture.palette = NULL;
texture.seqid = 0;
// now create it