diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-04 14:16:56 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-04 15:14:27 +0100 |
commit | 8a1f96011daa6e7b386d6f9f024a1ccf5eb95366 (patch) | |
tree | f2141ac1e2c76793fcf28baaed51ae63cfd329f6 /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | OpenGL: Ensure framebuffer binding is restored if completion check fails (diff) | |
download | yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar.gz yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar.bz2 yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar.lz yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar.xz yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.tar.zst yuzu-8a1f96011daa6e7b386d6f9f024a1ccf5eb95366.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 849530d86..32abfbaf5 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -171,7 +171,8 @@ struct CachedSurface { OGLTexture texture; u32 width; u32 height; - u32 stride = 0; + /// Stride between lines, in pixels. Only valid for images in linear format. + u32 pixel_stride = 0; float res_scale_width = 1.f; float res_scale_height = 1.f; |