]> git.sesse.net Git - nageru/blobdiff - input_state.h
Write 1.4.0 changelog.
[nageru] / input_state.h
index 26015ef569b85d61f95af40e21c17a4a537d7423..ca14739a1813727b3400da73abdd4ab4b3cab925 100644 (file)
@@ -13,12 +13,12 @@ struct BufferedFrame {
 // In particular, this is captured by Theme::get_chain(),
 // so that it can hold on to all the frames it needs for rendering.
 struct InputState {
-       // For each card, the last three frames (or fields), with 0 being the
+       // For each card, the last five frames (or fields), with 0 being the
        // most recent one. Note that we only need the actual history if we have
        // interlaced output (for deinterlacing), so if we detect progressive input,
        // we immediately clear out all history and all entries will point to the same
        // frame.
-       BufferedFrame buffered_frames[MAX_CARDS][FRAME_HISTORY_LENGTH];
+       BufferedFrame buffered_frames[MAX_VIDEO_CARDS][FRAME_HISTORY_LENGTH];
 };
 
 #endif  // !defined(_INPUT_STATE_H)