X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=chroma_subsampler.h;h=8e9ff4e0116c0ad31b9d317e92fd6121eb4bfc1a;hb=9e47a2f661b9d292598ef0277e507458e3dad62f;hp=6466285960eea21434eccc0455eb0ed40f483a81;hpb=35efc9e3149028e6c65dceb46f60490448dcbd9f;p=nageru diff --git a/chroma_subsampler.h b/chroma_subsampler.h index 6466285..8e9ff4e 100644 --- a/chroma_subsampler.h +++ b/chroma_subsampler.h @@ -42,12 +42,12 @@ private: GLuint cbcr_program_num; // Owned by . GLuint cbcr_texture_sampler_uniform; - GLuint cbcr_position_attribute_index, cbcr_texcoord_attribute_index; + GLint cbcr_position_attribute_index, cbcr_texcoord_attribute_index; GLuint cbcr_chroma_offset_0_location, cbcr_chroma_offset_1_location; GLuint uyvy_program_num; // Owned by . GLuint uyvy_y_texture_sampler_uniform, uyvy_cbcr_texture_sampler_uniform; - GLuint uyvy_position_attribute_index, uyvy_texcoord_attribute_index; + GLint uyvy_position_attribute_index, uyvy_texcoord_attribute_index; GLuint uyvy_luma_offset_0_location, uyvy_luma_offset_1_location; GLuint uyvy_chroma_offset_0_location, uyvy_chroma_offset_1_location;