mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	VideoCore: Fix floating point warning
This commit is contained in:
		
							parent
							
								
									176aded020
								
							
						
					
					
						commit
						92bfec0566
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -94,7 +94,7 @@ void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) { | ||||||
|     // NOTE: We clip against a w=epsilon plane to guarantee that the output has a positive w value.
 |     // NOTE: We clip against a w=epsilon plane to guarantee that the output has a positive w value.
 | ||||||
|     // TODO: Not sure if this is a valid approach. Also should probably instead use the smallest
 |     // TODO: Not sure if this is a valid approach. Also should probably instead use the smallest
 | ||||||
|     //       epsilon possible within float24 accuracy.
 |     //       epsilon possible within float24 accuracy.
 | ||||||
|     static const float24 EPSILON = float24::FromFloat32(0.00001); |     static const float24 EPSILON = float24::FromFloat32(0.00001f); | ||||||
|     static const float24 f0 = float24::FromFloat32(0.0); |     static const float24 f0 = float24::FromFloat32(0.0); | ||||||
|     static const float24 f1 = float24::FromFloat32(1.0); |     static const float24 f1 = float24::FromFloat32(1.0); | ||||||
|     static const std::array<ClippingEdge, 7> clipping_edges = {{ |     static const std::array<ClippingEdge, 7> clipping_edges = {{ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue