mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-10-30 03:59:11 +00:00 
			
		
		
		
	The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().
		
			
				
	
	
		
			209 lines
		
	
	
		
			5 KiB
		
	
	
	
		
			XML
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			209 lines
		
	
	
		
			5 KiB
		
	
	
	
		
			XML
		
	
	
		
			Executable file
		
	
	
	
	
| <?xml version="1.0" encoding="Windows-1252"?>
 | |
| <VisualStudioProject
 | |
| 	ProjectType="Visual C++"
 | |
| 	Version="9.00"
 | |
| 	Name="loopwave"
 | |
| 	ProjectGUID="{12505F46-1148-9B4F-A319-BAB797F2CB7A}"
 | |
| 	RootNamespace="loopwave"
 | |
| 	Keyword="Win32Proj"
 | |
| 	>
 | |
| 	<Platforms>
 | |
| 		<Platform
 | |
| 			Name="Win32"
 | |
| 		/>
 | |
| 	</Platforms>
 | |
| 	<ToolFiles>
 | |
| 	</ToolFiles>
 | |
| 	<Configurations>
 | |
| 		<Configuration
 | |
| 			Name="Debug|Win32"
 | |
| 			OutputDirectory="Win32\Debug"
 | |
| 			IntermediateDirectory="obj\Debug"
 | |
| 			ConfigurationType="1"
 | |
| 			CharacterSet="2"
 | |
| 			>
 | |
| 			<Tool
 | |
| 				Name="VCPreBuildEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCCustomBuildTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXMLDataGeneratorTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebServiceProxyGeneratorTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCMIDLTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCCLCompilerTool"
 | |
| 				Optimization="0"
 | |
| 				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;_DEBUG"
 | |
| 				MinimalRebuild="true"
 | |
| 				ExceptionHandling="0"
 | |
| 				BasicRuntimeChecks="3"
 | |
| 				RuntimeLibrary="3"
 | |
| 				EnableFunctionLevelLinking="true"
 | |
| 				UsePrecompiledHeader="0"
 | |
| 				WarningLevel="3"
 | |
| 				ProgramDataBaseFileName="$(OutDir)\loopwave.pdb"
 | |
| 				DebugInformationFormat="4"
 | |
| 				CompileAs="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManagedResourceCompilerTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCResourceCompilerTool"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;_DEBUG"
 | |
| 				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPreLinkEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCLinkerTool"
 | |
| 				AdditionalDependencies="..\..\SDL2main\Win32\Debug\SDL2main.lib ..\..\SDL2\Win32\Debug\SDL2.lib"
 | |
| 				OutputFile="$(OutDir)\loopwave.exe"
 | |
| 				LinkIncremental="2"
 | |
| 				AdditionalLibraryDirectories=""
 | |
| 				GenerateDebugInformation="true"
 | |
| 				ProgramDataBaseFileName="$(OutDir)\loopwave.pdb"
 | |
| 				SubSystem="1"
 | |
| 				EntryPointSymbol="mainCRTStartup"
 | |
| 				TargetMachine="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCALinkTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManifestTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXDCMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCBscMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCFxCopTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCAppVerifierTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebDeploymentTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPostBuildEventTool"
 | |
| 				CommandLine="if not exist ".\Win32\Debug" ( mkdir ".\Win32\Debug" )
copy ".\..\..\SDL2\Win32\Debug\SDL2.dll" ".\Win32\Debug\SDL2.dll"
copy ".\..\..\..\..\..\test\sample.wav" ".\Win32\Debug\sample.wav""
 | |
| 			/>
 | |
| 		</Configuration>
 | |
| 		<Configuration
 | |
| 			Name="Release|Win32"
 | |
| 			OutputDirectory="Win32\Release"
 | |
| 			IntermediateDirectory="obj\Release"
 | |
| 			ConfigurationType="1"
 | |
| 			CharacterSet="2"
 | |
| 			>
 | |
| 			<Tool
 | |
| 				Name="VCPreBuildEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCCustomBuildTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXMLDataGeneratorTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebServiceProxyGeneratorTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCMIDLTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCCLCompilerTool"
 | |
| 				Optimization="2"
 | |
| 				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;NDEBUG"
 | |
| 				ExceptionHandling="0"
 | |
| 				StringPooling="true"
 | |
| 				RuntimeLibrary="2"
 | |
| 				EnableFunctionLevelLinking="true"
 | |
| 				UsePrecompiledHeader="0"
 | |
| 				WarningLevel="3"
 | |
| 				ProgramDataBaseFileName="$(OutDir)\loopwave.pdb"
 | |
| 				DebugInformationFormat="0"
 | |
| 				CompileAs="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManagedResourceCompilerTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCResourceCompilerTool"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;NDEBUG"
 | |
| 				AdditionalIncludeDirectories="..\..;..\..\..\..\..\include"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPreLinkEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCLinkerTool"
 | |
| 				AdditionalDependencies="..\..\SDL2main\Win32\Release\SDL2main.lib ..\..\SDL2\Win32\Release\SDL2.lib"
 | |
| 				OutputFile="$(OutDir)\loopwave.exe"
 | |
| 				LinkIncremental="1"
 | |
| 				AdditionalLibraryDirectories=""
 | |
| 				GenerateDebugInformation="false"
 | |
| 				SubSystem="1"
 | |
| 				OptimizeReferences="2"
 | |
| 				EnableCOMDATFolding="2"
 | |
| 				EntryPointSymbol="mainCRTStartup"
 | |
| 				TargetMachine="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCALinkTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManifestTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXDCMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCBscMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCFxCopTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCAppVerifierTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebDeploymentTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPostBuildEventTool"
 | |
| 				CommandLine="if not exist ".\Win32\Release" ( mkdir ".\Win32\Release" )
copy ".\..\..\SDL2\Win32\Release\SDL2.dll" ".\Win32\Release\SDL2.dll"
copy ".\..\..\..\..\..\test\sample.wav" ".\Win32\Release\sample.wav""
 | |
| 			/>
 | |
| 		</Configuration>
 | |
| 	</Configurations>
 | |
| 	<References>
 | |
| 	</References>
 | |
| 	<Files>
 | |
| 		<Filter
 | |
| 			Name="test"
 | |
| 			Filter=""
 | |
| 			>
 | |
| 			<File
 | |
| 				RelativePath="..\..\..\..\..\test\loopwave.c"
 | |
| 				>
 | |
| 			</File>
 | |
| 		</Filter>
 | |
| 	</Files>
 | |
| 	<Globals>
 | |
| 	</Globals>
 | |
| </VisualStudioProject>
 |