mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-10-25 17:28:26 +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().
		
			
				
	
	
		
			200 lines
		
	
	
		
			4 KiB
		
	
	
	
		
			XML
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			200 lines
		
	
	
		
			4 KiB
		
	
	
	
		
			XML
		
	
	
		
			Executable file
		
	
	
	
	
| <?xml version="1.0" encoding="Windows-1252"?>
 | |
| <VisualStudioProject
 | |
| 	ProjectType="Visual C++"
 | |
| 	Version="9.00"
 | |
| 	Name="SDL2main"
 | |
| 	ProjectGUID="{10E5D730-F9B4-3541-90B0-5AA85E0256C0}"
 | |
| 	RootNamespace="SDL2main"
 | |
| 	Keyword="Win32Proj"
 | |
| 	>
 | |
| 	<Platforms>
 | |
| 		<Platform
 | |
| 			Name="Win32"
 | |
| 		/>
 | |
| 	</Platforms>
 | |
| 	<ToolFiles>
 | |
| 	</ToolFiles>
 | |
| 	<Configurations>
 | |
| 		<Configuration
 | |
| 			Name="Debug|Win32"
 | |
| 			OutputDirectory="Win32\Debug"
 | |
| 			IntermediateDirectory="obj\Debug"
 | |
| 			ConfigurationType="4"
 | |
| 			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)\SDL2main.pdb"
 | |
| 				DebugInformationFormat="4"
 | |
| 				CompileAs="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManagedResourceCompilerTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCResourceCompilerTool"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;_DEBUG"
 | |
| 				AdditionalIncludeDirectories="..;..\..\..\..\include"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPreLinkEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCLibrarianTool"
 | |
| 				OutputFile="$(OutDir)\SDL2main.lib"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCALinkTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManifestTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXDCMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCBscMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCFxCopTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCAppVerifierTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebDeploymentTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPostBuildEventTool"
 | |
| 			/>
 | |
| 		</Configuration>
 | |
| 		<Configuration
 | |
| 			Name="Release|Win32"
 | |
| 			OutputDirectory="Win32\Release"
 | |
| 			IntermediateDirectory="obj\Release"
 | |
| 			ConfigurationType="4"
 | |
| 			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)\SDL2main.pdb"
 | |
| 				DebugInformationFormat="0"
 | |
| 				CompileAs="1"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManagedResourceCompilerTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCResourceCompilerTool"
 | |
| 				PreprocessorDefinitions="USING_PREMAKE_CONFIG_H;NDEBUG"
 | |
| 				AdditionalIncludeDirectories="..;..\..\..\..\include"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPreLinkEventTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCLibrarianTool"
 | |
| 				OutputFile="$(OutDir)\SDL2main.lib"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCALinkTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCManifestTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCXDCMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCBscMakeTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCFxCopTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCAppVerifierTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCWebDeploymentTool"
 | |
| 			/>
 | |
| 			<Tool
 | |
| 				Name="VCPostBuildEventTool"
 | |
| 			/>
 | |
| 		</Configuration>
 | |
| 	</Configurations>
 | |
| 	<References>
 | |
| 	</References>
 | |
| 	<Files>
 | |
| 		<Filter
 | |
| 			Name="src"
 | |
| 			Filter=""
 | |
| 			>
 | |
| 			<Filter
 | |
| 				Name="main"
 | |
| 				Filter=""
 | |
| 				>
 | |
| 				<Filter
 | |
| 					Name="windows"
 | |
| 					Filter=""
 | |
| 					>
 | |
| 					<File
 | |
| 						RelativePath="..\..\..\..\src\main\windows\SDL_windows_main.c"
 | |
| 						>
 | |
| 					</File>
 | |
| 				</Filter>
 | |
| 			</Filter>
 | |
| 		</Filter>
 | |
| 	</Files>
 | |
| 	<Globals>
 | |
| 	</Globals>
 | |
| </VisualStudioProject>
 |