]> git.sesse.net Git - nageru/blobdiff - flow.h
Split out the flow code from the example driver.
[nageru] / flow.h
diff --git a/flow.h b/flow.h
index 2e4546861d8c3abbe7157fb9ea6d3537675a6322..6475d9b7116d7bff2d61b1769176efb2ea17a0ce 100644 (file)
--- a/flow.h
+++ b/flow.h
@@ -78,6 +78,8 @@ static constexpr OperatingPoint operating_point4 = {
        8.0f    // Splat size (pixels).
 };
 
+int find_num_levels(int width, int height);
+
 // A class that caches FBOs that render to a given set of textures.
 // It never frees anything, so it is only suitable for rendering to
 // the same (small) set of textures over and over again.