mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	graphics_cmdlists: Make LoadImage internally linked
Puts the TextureInfoWidget definition in the anonymous namespace as well, as it's only used in the translation unit as well.
This commit is contained in:
		
							parent
							
								
									963aedd8cc
								
							
						
					
					
						commit
						dcb8113347
					
				@ -21,6 +21,7 @@
 | 
				
			|||||||
#include "video_core/pica.h"
 | 
					#include "video_core/pica.h"
 | 
				
			||||||
#include "video_core/pica_state.h"
 | 
					#include "video_core/pica_state.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace {
 | 
				
			||||||
QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) {
 | 
					QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) {
 | 
				
			||||||
    QImage decoded_image(info.width, info.height, QImage::Format_ARGB32);
 | 
					    QImage decoded_image(info.width, info.height, QImage::Format_ARGB32);
 | 
				
			||||||
    for (int y = 0; y < info.height; ++y) {
 | 
					    for (int y = 0; y < info.height; ++y) {
 | 
				
			||||||
@ -47,6 +48,7 @@ public:
 | 
				
			|||||||
        setLayout(layout);
 | 
					        setLayout(layout);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					} // Anonymous namespace
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(parent) {}
 | 
					GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(parent) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user