[Scummvm-git-logs] scummvm master -> fba2ea5c3d73e0eb07f75ad2addcbe7b227d7aff

bluegr noreply at scummvm.org
Sat Nov 16 22:21:59 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fba2ea5c3d BACKENDS: 3DS: Silence "casts away qualifiers" warning.


Commit: fba2ea5c3d73e0eb07f75ad2addcbe7b227d7aff
    https://github.com/scummvm/scummvm/commit/fba2ea5c3d73e0eb07f75ad2addcbe7b227d7aff
Author: Michael Ball (ballm4788 at gmail.com)
Date: 2024-11-17T00:21:56+02:00

Commit Message:
BACKENDS: 3DS: Silence "casts away qualifiers" warning.

Changed paths:
    backends/platform/3ds/osystem-graphics.cpp


diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp
index ffdef26b826..649e5d41335 100644
--- a/backends/platform/3ds/osystem-graphics.cpp
+++ b/backends/platform/3ds/osystem-graphics.cpp
@@ -84,7 +84,7 @@ void OSystem_3DS::init3DSGraphics() {
 	                          DISPLAY_TRANSFER_FLAGS);
 
 	// Load and bind simple default shader (shader.v.pica)
-	_dvlb = DVLB_ParseFile((u32*)shader_shbin, shader_shbin_size);
+	_dvlb = DVLB_ParseFile((u32*)const_cast<u8 *>(shader_shbin), shader_shbin_size);
 	shaderProgramInit(&_program);
 	shaderProgramSetVsh(&_program, &_dvlb->DVLE[0]);
 	C3D_BindProgram(&_program);




More information about the Scummvm-git-logs mailing list